Skip to content

Refactor and enhance API permissions#15034

Merged
mtesauro merged 1 commit into
DefectDojo:bugfixfrom
dogboat:permissions-updates
Jun 17, 2026
Merged

Refactor and enhance API permissions#15034
mtesauro merged 1 commit into
DefectDojo:bugfixfrom
dogboat:permissions-updates

Conversation

@dogboat

@dogboat dogboat commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Refactors and enhances API permissions capabilities.

Note that as part of this refactor, the Product permission check in EngagementSerializer was moved to the permission class UserHasEngagementPermission. At the same time, I changed the update permission check from "edit" to "add," to bring it in line with the existing POST policy.

[sc-13219]

@Maffooch Maffooch changed the base branch from dev to bugfix June 17, 2026 14:53
@Maffooch Maffooch changed the base branch from bugfix to dev June 17, 2026 15:01
@dogboat dogboat force-pushed the permissions-updates branch from 65b8273 to ff534c6 Compare June 17, 2026 15:21
@dogboat dogboat changed the base branch from dev to bugfix June 17, 2026 15:22
@Maffooch Maffooch added this to the 3.0.1 milestone Jun 17, 2026

@mtesauro mtesauro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@Maffooch Maffooch requested review from Jino-T and paulOsinski June 17, 2026 16:18
@mtesauro mtesauro merged commit 119d5a6 into DefectDojo:bugfix Jun 17, 2026
273 of 276 checks passed
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.

5 participants