stable

Clone or download

Read-only

Use project default permissions when creating a new repo

This is part of story #8419 have permissions per tags/branches Given I have set up default fine-grained permissions in my project, when I create a new git repo then the project's default permissions will be duplicated in the new git repo. Given I have not enabled fine-grained permissions in my project, when I create a new git repo then the project's default permissions will be duplicated but fine- grained permissions won't be activated in the new git repo. (you can check in DB) Change-Id: Ib538d6e03a7299fc5c23c80dabd9a0aa8fd26e47

Modified Files

Name
M plugins/git/include/Git.class.php +11 −2 Go to diff View file
M plugins/git/include/Git/Permissions/FineGrainedDao.php +15 −0 Go to diff View file
A plugins/git/include/Git/Permissions/FineGrainedPermissionReplicator.php +87 −0 Go to diff View file
M plugins/git/include/GitActions.class.php +14 −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 +15 −1 Go to diff View file
M plugins/git/tests/GitActionsTest.php +8 −4 Go to diff View file
M plugins/git/tests/GitTest.php +1 −0 Go to diff View file