stable

Clone or download

Read-only

Merge project visibility on Details tab

This is part of story #10061 new project admin homepage and navigation How to test: - First, connect as site administrator and make sure project admins can't modify their project's visibility. - As a project admin, go in the project admin section and go to "edit group info". --> You should see an "Access" titled pane displaying the current project's visibility. - Re-connect as site admin and authorize project admins to modify the visibility of their projects. - Re-connect as a project admin and go back to the project admin section. --> You can edit the project visibility. - Now connect as site admin and go in the admin section of a project. --> you should be able to edit the project visibility. --> you should be able to edit truncated mails usage. Change-Id: I8acb77d89d1c75dc747898f22ba35cbb2b4c22c3

Modified Files

Name
M site-content/en_US/project/project.tab +0 −1 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +6 −0 Go to diff View file
M site-content/fr_FR/project/project.tab +0 −1 Go to diff View file
M site-content/tuleap-core.pot +6 −0 Go to diff View file
M src/common/autoload.php +3 −4 Go to diff View file
M src/common/project/Admin/ProjectDetails/ProjectDetailsController.php +81 −8 Go to diff View file
M src/common/project/Admin/ProjectDetails/ProjectDetailsPresenter.php +23 −1 Go to diff View file
M src/common/project/Admin/ProjectDetails/ProjectDetailsRouter.php +9 −18 Go to diff View file
M src/common/project/Admin/ProjectGlobalVisibilityPresenter.php +16 −1 Go to diff View file
D src/common/project/Admin/ProjectVisibilityController.php +0 −167 Go to diff View file
M src/common/project/Admin/ProjectVisibilityPresenter.class.php +6 −16 Go to diff View file
A src/common/project/Admin/ProjectVisibilityPresenterBuilder.php +84 −0 Go to diff View file
D src/common/project/Admin/ProjectVisibilityRouter.php +0 −54 Go to diff View file
M src/templates/project/project-details.mustache +8 −0 Go to diff View file
D src/templates/project/project-visibility-form.mustache +0 −17 Go to diff View file
A src/templates/project/project-visibility-pane.mustache +18 −0 Go to diff View file
A src/templates/project/project_access.mustache +17 −0 Go to diff View file
M src/templates/project/project_visibility.mustache +24 −14 Go to diff View file
M src/templates/project/truncated_emails.mustache +31 −19 Go to diff View file
M src/www/project/admin/editgroupinfo.php +29 −7 Go to diff View file
M src/www/project/admin/project_admin_utils.php +0 −9 Go to diff View file
D src/www/project/admin/project_visibility.php +0 −59 Go to diff View file
M src/www/scripts/project/admin/project-admin.js +12 −0 Go to diff View file
D src/www/scripts/tuleap/project-visibility.js +0 −29 Go to diff View file
M src/www/themes/BurningParrot/css/includes/project-admin/_details.scss +27 −4 Go to diff View file