stable

Clone or download

Read-only

Release hidden status should be correctly handle everywhere

part of request #9802: Access to release changenote doesn't work when release status is hidden Given a release with a hidden status and permissions set to anonymous: - release should not be displayed to anonymous - Frs Administrators can go see changelog Change-Id: I90c3f1ce5ded63bd1f7e8e8a0b2f5a151908ae23

Modified Files

Name
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/frs/FRSReleaseFactory.class.php +1 −1 Go to diff View file
A src/common/frs/ReleasePermissionManager.php +59 −0 Go to diff View file
M src/www/file/showfiles.php +9 −11 Go to diff View file
M src/www/file/shownotes.php +57 −50 Go to diff View file
A tests/simpletest/common/frs/FRSReleasePermissionManagerTest.php +131 −0 Go to diff View file