We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A user has a role which identifies privileges he is able to do.
For simplification this role can be: 'admin' or 'user'!
Admins can for instance users of other companies or update/delete other users which are not themself.
Role can be extracted from jwt of the bearer token!
Create admin user on startup like the api server via admin.ts tool!
adjust authorization mechamism to consider admin privileges! tests for the admin authorization mechanism
The text was updated successfully, but these errors were encountered:
maybe we also need an organization admin as well. these admins are able to delete users from their organization but not from others.
so 3 roles: admin > org-admin > user
Sorry, something went wrong.
dominic22
Successfully merging a pull request may close this issue.
A user has a role which identifies privileges he is able to do.
For simplification this role can be: 'admin' or 'user'!
Admins can for instance users of other companies or update/delete other users which are not themself.
Role can be extracted from jwt of the bearer token!
Create admin user on startup like the api server via admin.ts tool!
adjust authorization mechamism to consider admin privileges!
tests for the admin authorization mechanism
The text was updated successfully, but these errors were encountered: