Show webhook settings link if user has permissions
What does this MR do and why?
This makes the Webhook settings link show up in the group sidebar if the user has permission to view webhooks.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Create a custom role that allows managing webhooks
- Go to a project
- Add a member with the created custom role
- Impersonate the member
- See that the Settings and Webhooks link show up in the group sidebar