stable
Clone or download
Read-only
This is part of story #9634 Restrict Gerrit server by project We can now restrict and unrestrict a gerrit server. Projects that have at least one repository migrated on this gerrit server are automatically added in the restricted projects list. This restriction is not taken into account for now. A refactoring with dedicated objects will be done in a next commit. Change-Id: I7c599d91f698d27c329ac0a7eab737f103b79ffa
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/db/install.sql | +10 | −0 | Go to diff View file |
A | plugins/git/db/mysql/updates/2017/201702071518_add_gerrit_servers_project_restriction_tables.php | +61 | −0 | Go to diff View file |
M | plugins/git/db/uninstall.sql | +2 | −0 | Go to diff View file |
M | plugins/git/include/Git/AdminAllowedProjectsGerritPresenter.class.php | +24 | −35 | Go to diff View file |
M | plugins/git/include/Git/AdminGerritController.class.php | +89 | −22 | Go to diff View file |
M | plugins/git/include/Git/AdminRouter.class.php | +11 | −2 | Go to diff View file |
A | plugins/git/include/Git/GerritServerResourceRestrictor.php | +68 | −0 | Go to diff View file |
A | plugins/git/include/Git/RestrictedGerritServerDao.php | +83 | −0 | Go to diff View file |
M | plugins/git/include/autoload.php | +4 | −2 | Go to diff View file |
M | plugins/git/include/gitPlugin.class.php | +4 | −1 | Go to diff View file |
M | plugins/git/site-content/en_US/git.tab | +20 | −1 | Go to diff View file |
M | plugins/git/site-content/fr_FR/git.tab | +19 | −0 | Go to diff View file |
M | plugins/git/tests/Git/AdminGerritControllerTest.php | +2 | −1 | Go to diff View file |