stable

Clone or download

Read-only

Inherit fine grained permissions at project creation

This is part of story #8419 have permissions per tags/branches How to test: Given an existing project A, in Git admin, set up Default fine-grained permissions for branches and tags. When you create a new project B inheriting from project A, then its git Default permissions will be the same as project A. Change-Id: I3923012eee8b95c206a42a524bd459c28b3c9726

Modified Files

Name
M plugins/git/include/Git/Permissions/DefaultFineGrainedPermissionFactory.php +72 −0 Go to diff View file
A plugins/git/include/Git/Permissions/DefaultFineGrainedPermissionReplicator.php +83 −0 Go to diff View file
M plugins/git/include/Git/Permissions/DefaultFineGrainedPermissionRepresentation.php +6 −2 Go to diff View file
M plugins/git/include/Git/Permissions/DefaultFineGrainedPermissionSaver.php +2 −2 Go to diff View file
M plugins/git/include/Git/Permissions/FineGrainedDao.php +15 −0 Go to diff View file
M plugins/git/include/Git/Permissions/FineGrainedPermissionRepresentation.php +1 −1 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
M plugins/git/include/gitPlugin.class.php +18 −1 Go to diff View file
M plugins/git/templates/access-control.mustache +2 −2 Go to diff View file