stable

Clone or download

Read-only

Have consistent selectbox for FRS release

story #9409 define FRS permissions for packages and releases At release creation, proposed permissions are already OK as they are inherited from package. This patch corrects permissions for already existing release. Please note that permissions should be updated when you change global access or public project visibility : if a release has a permission which is not possible anymore, the permission should be erased. Change-Id: Ideff7f1d00f1e106e59d94b77a350ecbc150a2b4

Modified Files

Name
M site-content/en_US/file/file.tab +1 −1 Go to diff View file
M src/common/frs/FRSPackageController.php +2 −2 Go to diff View file
M src/common/frs/FRSPackagePermissionPresenter.php +2 −2 Go to diff View file
M src/common/frs/FRSPermissionDao.php +7 −4 Go to diff View file
M src/common/frs/FRSReleaseController.php +73 −1 Go to diff View file
A src/common/frs/FRSReleasePermissionPresenter.php +43 −0 Go to diff View file
A src/db/mysql/updates/2016/201608291800_migrate_incoherent_permissions_for_release.php +49 −0 Go to diff View file
R src/templates/frs/package-permissions-presenter.mustache Go to diff View file
M src/www/file/admin/frsajax.php +10 −2 Go to diff View file
M src/www/file/admin/release.php +2 −1 Go to diff View file
M src/www/file/file_utils.php +21 −6 Go to diff View file
M src/www/project/admin/permissions.php +0 −38 Go to diff View file