Skip to content

Apply the global template gate to the add-from-template listing - #15781

Open
svader0 wants to merge 1 commit into
DefectDojo:bugfixfrom
svader0:harden-finding-template-listing-authz
Open

Apply the global template gate to the add-from-template listing#15781
svader0 wants to merge 1 commit into
DefectDojo:bugfixfrom
svader0:harden-finding-template-listing-authz

Conversation

@svader0

@svader0 svader0 commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Hardening / consistency improvement to finding-template authorization. Adds an additional authorization check on one template listing view, plus a regression test in the existing template authorization suite.

No functional change for users who already hold the global template permission. The check is placed in the view body rather than the route permission map so it applies the same way on every edition.

The listing renders finding-template content, which is a shared
cross-product store, but its only authorization was view access to the
object named in the URL. The sibling routes that read the same store
already require the global permission.

The check goes in the view body rather than the route permission map so
it applies the same way on every edition.
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.

1 participant