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.
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:Add the information about user role to the
User
entity. One user can have only one role. Update the role which is set to theUserPrincipal
after login.