Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating a new user fails due to missing/null applicationKey #6

Open
artlog opened this issue Mar 22, 2022 · 1 comment
Open

creating a new user fails due to missing/null applicationKey #6

artlog opened this issue Mar 22, 2022 · 1 comment

Comments

@artlog
Copy link

artlog commented Mar 22, 2022

As adminstrator (ROLE_ADMIN), using user/users page and creating a new user will fails once filled form is submitted.

La propriété [applicationKey] de la classe [class smarthome.security.User] ne peut pas être nulle

There is no editable field to set applicationKey.

@artlog artlog changed the title creating a new user ails due to missing/null applicationKey creating a new user fails due to missing/null applicationKey Mar 22, 2022
@artlog
Copy link
Author

artlog commented Mar 23, 2022

applicationKey should be created on server side and this is security wise to not edit on client side to protect against impersonalization. Should it be accepted to be null ? This is used for agents but is it still relevant in generic usage case for consoherozh ?

artlog added a commit to artlog/consoherozh that referenced this issue Mar 25, 2022
- Fix create of a user from an administrator
  - consometers#6
  - create applicationKey on server side on the fly in UserService
- When slecting device and deviceType some icons are missing
  - linky & manual counter icon ( to improve )

- Creating a House within USer profile
  - display profile without error if house is missing
  - Workaround a stackoverflow infinite recursion when saving a profile with a house.

- cleanup some unused imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant