stable

Clone or download

Read-only

feat: non readers should not see service in sidebar

If users cannot access to Baseline service, then they should not see the service entry in the sidebar. Else they are tempted to click on it and get a nasty error. Part of story #26359: define dedicated baseline administrators & readers Change-Id: I4402ea55307cd0d8c7035986679098f1d8027ea5

Modified Files

Name
M plugins/baseline/include/baselinePlugin.php +22 −0 Go to diff View file
M src/common/Layout/ProjectSidebarToolsBuilder.php +4 −1 Go to diff View file
A src/common/Project/Service/UserCanAccessToServiceEvent.php +56 −0 Go to diff View file
M tests/unit/common/Layout/ProjectSidebarToolsBuilderTest.php +47 −2 Go to diff View file