Skip to content
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

Authorization V2: Model and database table for Roles #4603

Merged
merged 5 commits into from
Jun 6, 2021

Conversation

StefanFl
Copy link
Contributor

@StefanFl StefanFl commented Jun 3, 2021

This PR adds a model class and corresponding database table for Roles. With this comes a read-only API for Roles and prefetches for the member and group endpoints.

Roles are NOT flexible with this PR, the roles in the database must still be the same as the hardcoded roles. Fully flexible roles might be added at a later stage, should there be demand for it. The API will stay stable, because the foundation is laid with this PR.

@valentijnscholten valentijnscholten merged commit 1532e01 into DefectDojo:dev Jun 6, 2021
@StefanFl StefanFl deleted the role-model branch June 18, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants