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

Disallow modify isDedicated and isShared properties for non superusers. #351

Closed
sebdeleze opened this issue Oct 16, 2020 · 0 comments · Fixed by #353
Closed

Disallow modify isDedicated and isShared properties for non superusers. #351

sebdeleze opened this issue Oct 16, 2020 · 0 comments · Fixed by #353

Comments

@sebdeleze
Copy link
Contributor

No description provided.

sebdeleze pushed a commit that referenced this issue Oct 21, 2020
This PR checks if current user can activate the `shared` or `dedicated` mode. Only super users can do this.

* Adds a validation for `isShared` and `isDedicated` properties in marshmallow schema.
* Closes #351.

Co-Authored-by: Sébastien Délèze <[email protected]>
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 a pull request may close this issue.

1 participant