stable

Clone or download

Read-only

Sort fine-grained permissions

This is part of story #8419 have permissions per tags/branches As the order matters in gitolite configuration file, we sort fine grained permission from the more restricted Change-Id: Id4415bd4548cbb0678dc9c9aa3d69b4f1b290a45

Modified Files

Name
M plugins/git/include/Git/Permissions/DefaultFineGrainedPermissionFactory.php +10 −3 Go to diff View file
M plugins/git/include/Git/Permissions/FineGrainedPermissionFactory.php +10 −3 Go to diff View file
A plugins/git/include/Git/Permissions/FineGrainedPermissionSorter.php +37 −0 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +3 −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 +10 −2 Go to diff View file
M plugins/git/tests/Git/Permissions/DefaultFineGrainedPermissionFactoryTest.php +2 −1 Go to diff View file
M plugins/git/tests/Git/Permissions/FineGrainedPermissionFactoryTest.php +2 −1 Go to diff View file
A plugins/git/tests/Git/Permissions/FineGrainedPermissionSorterTest.php +91 −0 Go to diff View file
M plugins/git/tests/rest/GitDataBuilder.php +6 −2 Go to diff View file