Permissions

MetaCroc logo

Permissions #

Branching uses the existing MetaCroc access management (ACL on systems and elements). There are no separate branch roles yet.

What applies today #

AreaRule
List branchesVIEW permission on the system
View, edit, push, lock elements on a branchElement ACL (VIEW, EDIT, FORCE UNLOCK), same as without branches
Lock, unlock, archive, restore, protect, delete a branch (UI)Administrator or user with the create system permission (Admin actions require the Project Admin role.)
Create branch, edit branch, rebase, compare, cherry-pick, create MRAny user who can see the system
Approve, request changes, reject an MRAny user except the author (unless self-approval is allowed); one vote per user
Merge an approved MRAny user who can see the MR
Close or reopen an MRAuthor
Cherry-pickVIEW on the target system and on each transferred element
Change Minimum number of approversEditing the system (Overview)

Protected branches #

A protected branch accepts changes only through merged merge requests:

  • push on the branch is rejected for everyone
  • rebase and cherry-pick into the branch are blocked
  • merge requests into the branch work normally

Use Mark as protected / Remove protection in the branch context menu.

Confidential branches #

The Confidential flag (restrict to explicit permissions) is stored and shown as a badge. It is currently enforced only for cherry-pick: users without VIEW on the system do not see a confidential source branch. Confidential branches are otherwise still listed and accessible.