code4romania / code4romania/next-door
Add user type
Open
back-end
good first issue
- Dominant language
- Java
- Stars
- 20
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Based on: https://github.com/code4romania/next-door/issues/5
Currently the `User` entity has no reference to any roles.
An user can have the following roles:
* PF/REGULAR (persoana fizica)
* Public authority
* Public utility
Add the information about user role to the `User` entity. One user can have only one role.
Update the role which is set to the `UserPrincipal` after login.
Contributor guide
Assessment
This issue has not been assessed yet.