code4romania / code4romania/next-door

Add user type

Open
#25 1 comment 0 reactions 1 assignee Claimed by @rmitoi View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.