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

Checking for roles such as crud_datasets, create_datasets etc. #232

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

josvandervelde
Copy link

Roles such as create_datasets, update_datasets, delete_datasets, crud_datasets, create_events...
You are allowed to POST a dataset if you have any role of edit_aiod_resources, create_datasets or crud_datasets.

This PR is just a quick fix to add some functionality (we might not even use it just yet).
Out of scope: more advanced functionality such as "you can only edit your own dataset".

@andrejridzik andrejridzik self-requested a review December 15, 2023 12:52
@josvandervelde josvandervelde merged commit 18d88be into develop Dec 15, 2023
1 check passed
@josvandervelde josvandervelde deleted the feature/more-finegrained-authorization branch December 15, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants