stable
Clone or download
Read-only
This is part of story #8419 have permissions per tags/branches While activating fine grained permissions in git admin, if no permissions are defined, new default permissions will be granted. You will have a branch permission on * based on writers and rewinders. You will have a tag permission on * based on writers and rewinders. Change-Id: I4d7872efa155bf1b3ccd06bf8d26b61724737577
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/Git/Permissions/DefaultFineGrainedPermissionFactory.php | +52 | −6 | Go to diff View file |
M | plugins/git/include/GitPermissionsManager.class.php | +31 | −18 | Go to diff View file |
M | plugins/git/include/REST/v1/RepositoryResource.class.php | +4 | −4 | Go to diff View file |
M | plugins/git/include/gitPlugin.class.php | +6 | −1 | Go to diff View file |
M | plugins/git/tests/Git/Permissions/DefaultFineGrainedPermissionFactoryTest.php | +6 | −1 | Go to diff View file |
M | plugins/git/tests/rest/GitDataBuilder.php | +7 | −1 | Go to diff View file |