stable
Clone or download
Read-only
story #7813: configure a git repo to allow access for restricted users
- need forge and project to allow restricted users - restricted user can clone and push - switching project to public or private disables access for restricted on repos - switching forge to public or anon disables access for restricted on repos (UI only) Change-Id: I6903387c207aa891e85f9dbb957c7b359c1ed709
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/GitForkPermissionsManager.class.php | +51 | −37 | Go to diff View file |
M | plugins/git/include/GitPermissionsManager.class.php | +11 | −2 | Go to diff View file |
A | plugins/git/include/GitPresenters/AccessControlPresenter.class.php | +70 | −0 | 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 | +26 | −1 | Go to diff View file |
A | plugins/git/templates/access-control.mustache | +40 | −0 | Go to diff View file |
M | site-content/en_US/project/project.tab | +7 | −1 | Go to diff View file |
M | site-content/fr_FR/project/project.tab | +6 | −0 | Go to diff View file |
M | src/common/ForgeAccess/ForgePropertiesManager.class.php | +11 | −4 | Go to diff View file |
M | src/common/dao/PermissionsDao.class.php | +44 | −1 | Go to diff View file |
M | src/common/dao/UserGroupDao.class.php | +8 | −3 | Go to diff View file |
M | src/common/event/Event.class.php | +38 | −0 | Go to diff View file |
M | src/common/include/URLVerification.class.php | +20 | −5 | Go to diff View file |
M | src/common/layout/Layout.class.php | +22 | −4 | Go to diff View file |
M | src/common/permission/PermissionsManager.class.php | +7 | −1 | Go to diff View file |
M | src/common/project/ProjectManager.class.php | +5 | −1 | Go to diff View file |
M | src/common/project/ProjectUGroup.class.php | +2 | −0 | Go to diff View file |
M | src/common/project/UGroupLiteralizer.class.php | +1 | −0 | Go to diff View file |
M | src/common/user/ForgeUGroup.php | +31 | −3 | Go to diff View file |
M | src/common/user/ForgeUserGroupFactory.php | +90 | −0 | Go to diff View file |
M | src/db/mysql/database_initvalues.sql | +1 | −0 | Go to diff View file |
A | src/db/mysql/updates/2015/201504091644_add_authenticated_user_group.php | +39 | −0 | Go to diff View file |
M | src/www/admin/forgeaccess.php | +2 | −1 | Go to diff View file |
M | src/www/project/admin/ugroup_utils.php | +10 | −1 | Go to diff View file |
M | tests/lib/rest/TestDataBuilder.php | +14 | −12 | Go to diff View file |
M | tests/rest/ProjectTest.php | +11 | −5 | Go to diff View file |