stable

Clone or download

Read-only

Introduce 4th project access option

In local.inc, set $feature_flag_project_without_restricted variable to the value: 1. In project ยป admin ยป access, you have now the following options: - Private - Private incl. restricted - Public - Public incl. restricted Once changed, you can see the new visibility: - In the tooltip displayed on navbar or sidebar (both FP & BP pages) - In the header of the project dashboard - In siteadmin ยป projects ยป project page Except that, both "private" options have the same behavior accross the platform for now. No functional changes when the feature flag is off or not present in local.inc. Custom icon will come in a dedicated changeset. Part of story #12554: have private projects without restricted members Change-Id: I64dc1adc03b2e1e9b226c7fbdea4af51a9d3e306

Modified Files

Name
M plugins/admindelegation/include/AdminDelegation_ShowProjectWidget.class.php +1 โˆ’1 Go to diff View file
M plugins/docman/include/Notifications/NotificationsForProjectMemberCleaner.php +3 โˆ’3 Go to diff View file
M plugins/docman/include/Notifications/UgroupsToNotifyUpdater.php +7 โˆ’7 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +2 โˆ’1 Go to diff View file
M plugins/git/include/Git/Notifications/UgroupToNotifyUpdater.php +7 โˆ’8 Go to diff View file
M plugins/git/include/GitPermissionsManager.class.php +5 โˆ’4 Go to diff View file
M plugins/git/include/gitPlugin.class.php +2 โˆ’3 Go to diff View file
M plugins/mediawiki/include/MediawikiManager.class.php +7 โˆ’10 Go to diff View file
M plugins/mediawiki/include/mediawikiPlugin.class.php +3 โˆ’4 Go to diff View file
M plugins/svn/include/SVN/Notifications/UgroupsToNotifyUpdater.php +7 โˆ’7 Go to diff View file
M plugins/svn/include/svnPlugin.class.php +2 โˆ’2 Go to diff View file
M plugins/tracker/include/Tracker/Notifications/UgroupsToNotifyUpdater.php +7 โˆ’7 Go to diff View file
M plugins/tracker/include/Tracker/dao/ProjectDao.php +3 โˆ’3 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +3 โˆ’2 Go to diff View file
M site-content/en_US/project/project.tab +1 โˆ’0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +57 โˆ’0 Go to diff View file
M src/common/Project/Admin/ProjectAccessPresenter.php +12 โˆ’10 Go to diff View file
M src/common/Project/Admin/ProjectGlobalVisibilityPresenter.php +0 โˆ’1 Go to diff View file
M src/common/Project/Admin/ProjectVisibilityPresenter.class.php +68 โˆ’9 Go to diff View file
M src/common/Project/Admin/ProjectVisibilityPresenterBuilder.php +0 โˆ’1 Go to diff View file
A src/common/Project/Admin/ProjectWithoutRestrictedFeatureFlag.php +33 โˆ’0 Go to diff View file
M src/common/Project/Project.class.php +6 โˆ’5 Go to diff View file
M src/common/Project/ProjectManager.class.php +6 โˆ’2 Go to diff View file
M src/common/RSS/RSS.php +7 โˆ’10 Go to diff View file
M src/common/dao/ProjectDao.class.php +51 โˆ’19 Go to diff View file
M src/common/dao/UGroupDao.class.php +8 โˆ’7 Go to diff View file
M src/common/dao/UGroupUserDao.class.php +4 โˆ’3 Go to diff View file
M src/common/frs/FRSPermissionCreator.php +1 โˆ’1 Go to diff View file
M src/common/include/GroupFactory.class.php +21 โˆ’17 Go to diff View file
M src/common/layout/BaseLayout.php +55 โˆ’2 Go to diff View file
M src/common/system_event/include/SystemEvent_PROJECT_IS_PRIVATE.class.php +42 โˆ’8 Go to diff View file
M src/common/widget/Widget_MyProjects.class.php +7 โˆ’4 Go to diff View file
M src/templates/admin/projects/project-info.mustache +2 โˆ’2 Go to diff View file
M src/templates/dashboard/project.mustache +4 โˆ’4 Go to diff View file
M src/templates/project/project_access.mustache +2 โˆ’2 Go to diff View file
M src/www/forum/admin/index.php +12 โˆ’10 Go to diff View file
M src/www/forum/forum_utils.php +5 โˆ’3 Go to diff View file
M src/www/include/trove.php +20 โˆ’7 Go to diff View file
M src/www/news/news_utils.php +40 โˆ’40 Go to diff View file
M src/www/themes/BurningParrot/CurrentProjectNavbarInfoPresenter.php +2 โˆ’5 Go to diff View file
M src/www/themes/BurningParrot/Navbar/DropdownMenuItem/Content/Projects/ProjectPresentersBuilder.php +1 โˆ’1 Go to diff View file
M src/www/themes/BurningParrot/ProjectSidebarPresenter.php +2 โˆ’5 Go to diff View file
M src/www/themes/FlamingParrot/ContainerPresenter.class.php +1 โˆ’1 Go to diff View file
M src/www/themes/FlamingParrot/CurrentProjectNavbarInfoPresenter.php +2 โˆ’5 Go to diff View file