stable

Clone or download

Read-only

Duplicate fine grained permission while forking a single repo in the same project

This is part of story #8419 have permissions per tags/branches When you fork repositories, you won't be able to select permissions or toggle fine-grained permissions. You should set up permissions after having forked the repo. Change-Id: I777ddab8db4f3e6ca7c37ded7597942b0ca6f987

Modified Files

Name
M plugins/git/include/Git/Permissions/FineGrainedDao.php +15 −0 Go to diff View file
M plugins/git/include/Git/Permissions/FineGrainedPermissionReplicator.php +49 −6 Go to diff View file
M plugins/git/include/GitRepositoryManager.class.php +17 −13 Go to diff View file
M plugins/git/include/gitPlugin.class.php +10 −6 Go to diff View file
M plugins/git/templates/fine_grained.mustache +1 −0 Go to diff View file
M plugins/git/tests/GitRepositoryManagerTest.php +8 −4 Go to diff View file
M plugins/git/tests/GitXmlImporterTest.php +2 −1 Go to diff View file
M plugins/git/tests/rest/GitDataBuilder.php +15 −1 Go to diff View file