Skip to content

Fix missing validations for owner in Permission APIs - #792

Merged
vincent-olivert-riera merged 1 commit into
line:masterfrom
hoangpn:bug_fix/missing_owner_validation_in_permission_APIs
Sep 28, 2026
Merged

vincent-olivert-riera merged 1 commit into
line:masterfrom
hoangpn:bug_fix/missing_owner_validation_in_permission_APIs

Conversation

@hoangpn

@hoangpn hoangpn commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

We missed validating the assignment or removal of owner permissions via APIs, unlike the checks in Promgen Web. To address this, we've created validators in validators.py and ensured both Promgen Web and Promgen APIs use them.

Consequently, the existing similar validations in views.py will be removed.

We missed validating the assignment or removal of owner permissions via APIs, unlike the checks
in Promgen Web. To address this, we've created validators in validators.py and ensured both
Promgen Web and Promgen APIs use them.

Consequently, the existing similar validations in views.py will be removed.
@vincent-olivert-riera
vincent-olivert-riera merged commit 2a1608e into line:master Sep 28, 2026
5 checks passed
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