Files
gerrit/java
Changcheng Xiao 5087440fda Move checks for the meta config branch out from the RefControl
This check is a precondition for a branch to be deletable regardless
of permissions. PermissionBackend should only check whether the
user is granted permission to do an action.

For the "refs/meta/config" branch, we will not allow anyone to delete
this branch even though somehow this user has been granted the DELETE
permission.

After this commit, every time we check the DELETE permission, we
need to verify it's not the "refs/meta/config" branch which is a
burden to every caller.

Change-Id: Ic60302d5dc567d92f52b6a237b368f3f8ff7445c
2018-04-10 08:40:11 +02:00
..
2018-02-16 14:04:01 +00:00