stable
Clone or download
Read-only
By default project members can read. If database is manually updated (plugin_mediawiki_standalone_permissions) then: * permission is reflected in project ยป admin ยป permissions ยป mediawiki standalone * REST call /projects/:id/mediawiki_standalone_permissions respects the settings Update of the READ permissions via the user interface will be done in a dedicated contribution. For now the list of available user groups is limited to those of the project. Another contribution willย add anonymous/registered/authenticated to the list. Part of story #25733: manage mediawiki permissions Change-Id: I2bad65188857bb4085f85bbf19e08d6865d2ae90
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/baseline/tests/unit/ServiceAdministrationControllerTest.php | +1 | โ1 | Go to diff View file |
M | plugins/baseline/tests/unit/ServiceSavePermissionsControllerTest.php | +1 | โ1 | Go to diff View file |
M | plugins/docman/tests/unit/Metadata/Owner/OwnerRequestHandlerTest.php | +5 | โ26 | Go to diff View file |
M | plugins/mediawiki_standalone/composer.json | +4 | โ1 | Go to diff View file |
M | plugins/mediawiki_standalone/composer.lock | +143 | โ3 | Go to diff View file |
M | plugins/mediawiki_standalone/db/install.sql | +8 | โ1 | Go to diff View file |
A | plugins/mediawiki_standalone/db/mysql/updates/2022/202211300833_add_permissions_table.php | +45 | โ0 | Go to diff View file |
M | plugins/mediawiki_standalone/db/uninstall.sql | +3 | โ1 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/Admin/AdminPermissionsController.php | +100 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/Admin/AdminPermissionsPresenter.php | +41 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/Admin/AdminPermissionsPresenterBuilder.php | +67 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/Admin/CSRFSynchronizerTokenProvider.php | +33 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/Admin/RejectNonMediawikiAdministratorMiddleware.php | +59 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/Admin/UserGroupPresenter.php | +33 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/IBuildUserPermissions.php | +29 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/ISearchByProjectAndPermission.php | +31 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/MediawikiPermissionsDao.php | +43 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/Permission.php | +28 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/PermissionRead.php | +36 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/ReadersRetriever.php | +42 | โ0 | Go to diff View file |
M | plugins/mediawiki_standalone/include/Permissions/UserPermissionsBuilder.php | +17 | โ7 | Go to diff View file |
M | plugins/mediawiki_standalone/include/REST/v1/MediawikiStandaloneProjectResource.php | +4 | โ1 | Go to diff View file |
M | plugins/mediawiki_standalone/include/Service/MediawikiStandaloneService.php | +42 | โ1 | Go to diff View file |
M | plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php | +72 | โ0 | Go to diff View file |
M | plugins/mediawiki_standalone/site-content/fr_FR/LC_MESSAGES/tuleap-mediawiki_standalone.po | +20 | โ2 | Go to diff View file |
M | plugins/mediawiki_standalone/site-content/pt_BR/LC_MESSAGES/tuleap-mediawiki_standalone.po | +18 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/templates/project-admin-permissions.mustache | +41 | โ0 | Go to diff View file |
M | plugins/mediawiki_standalone/tests/rest/v1/MediawikiStandaloneProjectResourceTest.php | +5 | โ5 | Go to diff View file |
A | plugins/mediawiki_standalone/tests/unit/Permissions/Admin/AdminPermissionsControllerTest.php | +131 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/tests/unit/Permissions/Admin/RejectNonMediawikiAdministratorMiddlewareTest.php | +140 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/tests/unit/Permissions/IBuildUserPermissionsStub.php | +56 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/tests/unit/Permissions/ISearchByProjectAndPermissionStub.php | +51 | โ0 | Go to diff View file |
A | plugins/mediawiki_standalone/tests/unit/Permissions/ReadersRetrieverTest.php | +49 | โ0 | Go to diff View file |
M | plugins/mediawiki_standalone/tests/unit/Permissions/UserPermissionsBuilderTest.php | +112 | โ60 | Go to diff View file |
M | src/common/User/User.class.php | +5 | โ0 | Go to diff View file |
M | tests/lib/Builders/UserTestBuilder.php | +17 | โ0 | Go to diff View file |
R | plugins/baseline/tests/unit/Support/NoopSapiEmitter.php | Go to diff View file |