stable

Clone or download

Read-only

Add Fine grained permissions in Git section

Part of story #10064 Display permissions per group How to test: - Git fine grained permissions should be shown - When the selected ugroup has no permission for any branch/tag or isn't reader in a fine grained repo, then it won't be shown Change-Id: I28edc01eff7f33e75ea5fabde6a0571e8a4458b7

Modified Files

Name
A plugins/git/include/Git/PerGroup/AdminUrlBuilder.php +40 −0 Go to diff View file
A plugins/git/include/Git/PerGroup/CollectionOfUgroupsFormatter.php +67 −0 Go to diff View file
A plugins/git/include/Git/PerGroup/FineGrainedPermissionsPresenter.php +58 −0 Go to diff View file
A plugins/git/include/Git/PerGroup/FineGrainedPermissionsPresenterBuilder.php +205 −0 Go to diff View file
A plugins/git/include/Git/PerGroup/FineGrainedRowPresenter.php +49 −0 Go to diff View file
M plugins/git/include/Git/PerGroup/PermissionPerGroupGitRepositoriesSectionBuilder.php +32 −86 Go to diff View file
M plugins/git/include/Git/PerGroup/PermissionPerGroupGitSectionBuilder.php +4 −7 Go to diff View file
M plugins/git/include/Git/PerGroup/RepositoryPermissionsPresenter.php +2 −35 Go to diff View file
A plugins/git/include/Git/PerGroup/RepositoryPermissionsPresenterCollection.php +40 −0 Go to diff View file
A plugins/git/include/Git/PerGroup/SimplePermissionsPresenter.php +64 −0 Go to diff View file
A plugins/git/include/Git/PerGroup/SimplePermissionsPresenterBuilder.php +93 −0 Go to diff View file
M plugins/git/include/autoload.php +10 −2 Go to diff View file
M plugins/git/include/gitPlugin.class.php +21 −4 Go to diff View file
M plugins/git/site-content/fr_FR/LC_MESSAGES/tuleap-git.po +6 −0 Go to diff View file
M plugins/git/site-content/tuleap-git.pot +6 −0 Go to diff View file
A plugins/git/templates/project-admin/fine-grained-repository.mustache +43 −0 Go to diff View file
M plugins/git/templates/project-admin/project-admin-permission-per-group.mustache +10 −32 Go to diff View file
A plugins/git/templates/project-admin/simple-repository.mustache +28 −0 Go to diff View file