stable
Clone or download
Read-only
Part of story #14543 have OAuth2 user settings No functional change expected. Apps can be created and deleted the same way in Project administration. This is just a technical change to have more PSR-15 compatible controllers. This allows to split up controllers by reusing small middlewares. Change-Id: Ic90e9a81d07c5e1f38b44feed09d8781009e073f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/oauth2_server/include/ProjectAdmin/AddAppController.php | +68 | −53 | Go to diff View file |
M | plugins/oauth2_server/include/ProjectAdmin/DeleteAppController.php | +36 | −53 | Go to diff View file |
M | plugins/oauth2_server/include/oauth2_serverPlugin.php | +50 | −2 | Go to diff View file |
M | plugins/oauth2_server/phpunit/ProjectAdmin/AddAppControllerTest.php | +48 | −54 | Go to diff View file |
M | plugins/oauth2_server/phpunit/ProjectAdmin/DeleteAppControllerTest.php | +49 | −54 | Go to diff View file |
A | src/common/Project/Admin/Routing/RejectNonProjectAdministratorMiddleware.php | +63 | −0 | Go to diff View file |
A | src/common/Project/Routing/ProjectRetrieverMiddleware.php | +55 | −0 | Go to diff View file |
A | tests/phpunit/common/Project/Admin/Routing/RejectNonProjectAdministratorMiddlewareTest.php | +84 | −0 | Go to diff View file |
A | tests/phpunit/common/Project/Routing/ProjectRetrieverMiddlewareTest.php | +54 | −0 | Go to diff View file |