stable

Clone or download

Read-only

UI FRS to select who is Admin

part of story #9281 define FRS global permissions In Admin Frs Permissions, you should be able to update Groups that are Admin For FRS, only projects groups and projects admin/members are avaiable. When permissions are updated, project history is created. At project creation FRS Permissions are duplicated. Change-Id: I59f727d2e56a1cc9427ff38332339927500abb7a

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AgileDashboardController.class.php +7 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +7 −1 Go to diff View file
M site-content/en_US/file/file.tab +8 −2 Go to diff View file
M site-content/en_US/project/project.tab +1 −0 Go to diff View file
M site-content/fr_FR/file/file.tab +8 −2 Go to diff View file
M site-content/fr_FR/project/project.tab +1 −0 Go to diff View file
M src/common/autoload.php +6 −2 Go to diff View file
M src/common/dao/UGroupDao.class.php +11 −0 Go to diff View file
A src/common/frs/FRSPermission.php +42 −0 Go to diff View file
A src/common/frs/FRSPermissionCreator.php +79 −0 Go to diff View file
M src/common/frs/FRSPermissionDao.php +65 −0 Go to diff View file
A src/common/frs/FRSPermissionFactory.php +51 −0 Go to diff View file
M src/common/frs/FRSPermissionManager.php +23 −14 Go to diff View file
A src/common/frs/FRSRouter.php +90 −0 Go to diff View file
M src/common/frs/PermissionController.php +75 −2 Go to diff View file
M src/common/frs/PermissionPresenter.php +16 −4 Go to diff View file
M src/common/frs/ServiceFile.class.php +18 −5 Go to diff View file
M src/common/project/OneStepCreation/OneStepCreationController.class.php +7 −1 Go to diff View file
M src/common/project/ProjectCreator.class.php +10 −0 Go to diff View file
M src/common/project/ProjectXMLImporter.class.php +7 −1 Go to diff View file
M src/common/user/ForgeUserGroupFactory.php +9 −0 Go to diff View file
M src/db/mysql/database_structure.sql +3 −1 Go to diff View file
A src/db/mysql/updates/2016/201608091610_add_index_for_frs_permissions.php +47 −0 Go to diff View file
M src/templates/frs/permissions-presenter.mustache +19 −3 Go to diff View file
M src/utils/import_project_xml.php +4 −1 Go to diff View file
M src/www/file/admin/index.php +31 −7 Go to diff View file
M src/www/soap/project/index.php +11 −1 Go to diff View file
M tests/integration/ProjectCreationTest.php +7 −1 Go to diff View file
M tests/integration/ProjectImportTest.php +4 −1 Go to diff View file
M tests/lib/TestDataBuilder.php +7 −1 Go to diff View file
M tests/lib/rest/TestDataBuilder.php +10 −2 Go to diff View file
A tests/simpletest/common/frs/FRSPermissionManagerTest.php +84 −0 Go to diff View file
M tests/simpletest/common/project/ProjectCreatorTest.php +2 −1 Go to diff View file
M tests/simpletest/common/project/ProjectXMLImporterTest.php +3 −1 Go to diff View file