Use GroupHook policies in controller
What does this MR do and why?
GroupHooksPolicy
got introduced in !88245 (merged), but it was not used in controllers to check access. To avoid confusion, this makes use of the policies.
Screenshots or screen recordings
There should be no visible change.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Andy Schoenen