stable

Clone or download

Read-only

feat(mediawiki): define readers

Readers are those who can access the project. There are a few things in User & Project builders that are added in this commit but not used. It's artifact of the first implementation that proved to be useless. Nevertheless, I think they are useful builders so I left them here. Part of: story #25738 manage Tuleap users & project access Change-Id: I078ad25a748cad5a6d5d69f470bd060d9f3553cb

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AgileDashboardLegacyController.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/include/Permissions/UserPermissionsBuilder.php +7 −1 Go to diff View file
M plugins/mediawiki_standalone/include/REST/v1/MediawikiStandaloneProjectResource.php +16 −4 Go to diff View file
A plugins/mediawiki_standalone/tests/rest/_fixtures/project/project.xml +21 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/rest/_fixtures/project/user_map.csv +1 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/rest/_fixtures/project/users.xml +17 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/rest/v1/MediawikiStandaloneProjectResourceTest.php +108 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Permissions/UserPermissions.php +5 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Permissions/UserPermissionsBuilderTest.php +66 −2 Go to diff View file
M plugins/svn/include/SVN/SvnRouter.php +1 −1 Go to diff View file
M site-content/en_US/include/include.tab +0 −2 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +7 −1 Go to diff View file
M site-content/fr_FR/include/include.tab +0 −2 Go to diff View file
M site-content/pt_BR/LC_MESSAGES/tuleap-core.po +6 −0 Go to diff View file
M src/common/Error/ProjectAccessSuspendedErrorPresenter.php +1 −1 Go to diff View file
M src/common/Project/AccessDeletedException.class.php +1 −1 Go to diff View file
M src/common/Project/ProjectAccessSuspendedException.php +1 −2 Go to diff View file
M src/common/Project/ProjectManager.class.php +1 −1 Go to diff View file
M src/www/admin/show_pending_documents.php +2 −2 Go to diff View file
M tests/lib/Builders/ProjectTestBuilder.php +20 −0 Go to diff View file
M tests/lib/Builders/UserTestBuilder.php +13 −1 Go to diff View file
M tests/rest/bin/setup.sh +2 −1 Go to diff View file
M tests/rest/lib/RestBase.php +0 −1 Go to diff View file