stable

Clone or download

Read-only

Do not expose projects in navbar, project creation, and rest

Given the platform allows restricted users And the variable $feature_flag_project_without_restricted is set to 1, When the project has visibility private And user is restricted and still member and admin of this project, Then the project does not appear in: - projects dropdown (in navbar) (both FP & BP) - project creation page - api rest: GET /projects No changes if the project has visibility private incl. restricted, or if the feature flag is off. Part of story #12554: have private projects without restricted members Change-Id: Icdc42e6e18165f527c5c947987735f227ca3cd68

Modified Files

Name
M plugins/ldap/include/LDAP_CleanUpManager.class.php +2 −2 Go to diff View file
M plugins/svn/include/svnPlugin.class.php +1 −1 Go to diff View file
M src/common/Project/OneStepCreation/OneStepCreationPresenter.class.php +3 −6 Go to diff View file
M src/common/Project/ProjectManager.class.php +52 −36 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +2 −1 Go to diff View file
M src/common/dao/ProjectDao.class.php +0 −19 Go to diff View file
M tests/simpletest/common/Project/ProjectManagerTest.php +35 −4 Go to diff View file