stable

Clone or download

Read-only

Read perm + forgeupgrade (site and project perm) + Update site and project at FRS level

part of story #9281 define FRS global permissions 1 - Migration for read permissions depends on project and site privacy 2 - FRS administrators can defnie who can read on plateforme 3 - When you set privacy of a project it updates FRS permissions if necessary 4 - When you set acess controle of a plateform it updates FRS permissions if necessary Change-Id: I2988405fe885247fdb46d6ad42a1cb627696fb09

Modified Files

Name
M plugins/frs/include/FRS/REST/v1/ReleaseResource.php +1 −1 Go to diff View file
M site-content/en_US/file/file.tab +2 −2 Go to diff View file
M site-content/en_US/project/project.tab +1 −1 Go to diff View file
M site-content/fr_FR/file/file.tab +2 −1 Go to diff View file
M site-content/fr_FR/project/project.tab +1 −1 Go to diff View file
M src/common/ForgeAccess/ForgePropertiesManager.class.php +25 −7 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/frs/FRSPackageFactory.class.php +22 −7 Go to diff View file
M src/common/frs/FRSPermission.php +2 −1 Go to diff View file
M src/common/frs/FRSPermissionCreator.php +25 −4 Go to diff View file
M src/common/frs/FRSPermissionDao.php +86 −1 Go to diff View file
M src/common/frs/FRSPermissionFactory.php +2 −1 Go to diff View file
M src/common/frs/FRSPermissionManager.php +12 −0 Go to diff View file
M src/common/frs/FRSReleaseFactory.class.php +5 −3 Go to diff View file
M src/common/frs/FRSRouter.php +13 −5 Go to diff View file
A src/common/frs/FRSWrongPermissiongrantedException.php +27 −0 Go to diff View file
M src/common/frs/PermissionController.php +30 −11 Go to diff View file
M src/common/frs/PermissionPresenter.php +5 −4 Go to diff View file
M src/common/frs/ServiceFile.class.php +2 −2 Go to diff View file
M src/common/project/ProjectManager.class.php +13 −0 Go to diff View file
A src/db/mysql/updates/2016/201608041530_migrate_existing_read_permissions.php +111 −0 Go to diff View file
M src/templates/frs/permissions-presenter.mustache +5 −9 Go to diff View file
M src/www/admin/forgeaccess.php +8 −1 Go to diff View file
M src/www/file/showfiles.php +34 −18 Go to diff View file
M src/www/themes/common/css/utils/_frs.scss +2 −2 Go to diff View file
M tests/simpletest/common/frs/FRSPackageFactoryTest.php +85 −207 Go to diff View file
M tests/simpletest/common/frs/FRSReleaseFactoryTest.php +99 −233 Go to diff View file