Guard Branch Rule Editing with permissions
So far, all editing options added to Branch Rule details page are hidden behind the edit_branch_rules feature flag, but they are not guarded by permissions.
Since we are combining a couple of settings on one page, it's essential that we guard each editing option with permissions present in the currently available settings.
| UI element to guard | code implementation | already existing permission |
|---|---|---|
|
guard added in !165192 (merged) |
||
|
guard added in !165192 (merged) |
||
|
_protected_branch.html.haml#L2 Code owner approval required: guard added in !165192 (merged) |
||
| no permissions in place, we only make sure this licensed feature is available |
Edited by Paulina Sedlak-Jakubowska






