stable

Clone or download

Read-only

feat: Introduce REST route to fetch permissions

Scaffold the new REST route and corresponding oauth2 scope. The route does nothing but exposing the expected payloads. Part of story #25738 manage Tuleap users & project access Change-Id: I95f2ccf7c3cfdb2da6dc1140e2f3036d50da426e

Modified Files

Name
A plugins/mediawiki_standalone/include/REST/MediawikiStandaloneResourcesInjector.php +36 −0 Go to diff View file
A plugins/mediawiki_standalone/include/REST/OAuth2/OAuth2MediawikiStandaloneReadScope.php +92 −0 Go to diff View file
A plugins/mediawiki_standalone/include/REST/v1/GetPermissionsRepresentation.php +34 −0 Go to diff View file
A plugins/mediawiki_standalone/include/REST/v1/MediawikiStandaloneProjectResource.php +53 −0 Go to diff View file
A plugins/mediawiki_standalone/include/REST/v1/PermissionsRepresentation.php +34 −0 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +19 −4 Go to diff View file
M plugins/mediawiki_standalone/site-content/fr_FR/LC_MESSAGES/tuleap-mediawiki_standalone.po +15 −4 Go to diff View file
M plugins/mediawiki_standalone/site-content/pt_BR/LC_MESSAGES/tuleap-mediawiki_standalone.po +6 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/REST/OAuth2/OAuth2MediawikiStandaloneReadScopeTest.php +34 −0 Go to diff View file