-
Notifications
You must be signed in to change notification settings - Fork 1
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
Basic rights/roles #16
Comments
@fumiX/entwickler We have the basic set of permissions as described above: fuBlog/common/src/entity/permission/UserRolePermissions.ts Lines 1 to 21 in f52b582
At the moment we also have four roles that each give the user exactly one of these four permissions: fuBlog/common/src/entity/UserRole.ts Lines 14 to 31 in f52b582
Now these roles were just meant as a placeholder for a more sensible set of roles. I'd propose these ones:
Any comments on this, or other suggestions? Sidenote: The concept for saving is as follows: In the user table an array of roles is persisted for each user. Both client and server are (without network calls) capable of converting a set of roles into a permission object, which has boolean attributes for what a user with that combination of roles is allowed to do. |
Folgende Berechtigungen sind vorgesehen:
Aufgaben:
The text was updated successfully, but these errors were encountered: