stable
Clone or download
As project administrator, Go to /plugins/baseline/<project>/admin โก๏ธ You should see a form to set the administrators As project member, Go to /plugins/baseline/<project>/admin โก๏ธ You should not be allowed to access the page As a site administrator, Go to /plugins/baseline/<project>/admin โก๏ธ You should see a form to set the administrators As project administrator, Go to project ยป admin ยป groups, Create a group "Developers", Add project member inside this group, In db insert an entry in plugin_baseline_role_assignement: (<ugroup_id>, "BASELINE_ADMIN", <project_id>). Go to /plugins/baseline/<project>/admin โก๏ธ You should see Developers selected in the form As project member, Go to /plugins/baseline/<project>/admin โก๏ธ You now have access to the administration and can access to the baselines Note: the form is not usable yet, it will be implemented later. Part of story #26359: define dedicated baseline administrators & readers Change-Id: I8cf42cfc98754d80907b70cb131839d6f9248889
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/baseline/composer.json | +5 | โ0 | Go to diff View file |
A | plugins/baseline/include/Adapter/Administration/AdminPermissionsPresenter.php | +36 | โ0 | Go to diff View file |
A | plugins/baseline/include/Adapter/Administration/AdminPermissionsPresenterBuilder.php | +60 | โ0 | Go to diff View file |
A | plugins/baseline/include/Adapter/Administration/IBuildAdminPermissionsPresenter.php | +29 | โ0 | Go to diff View file |
A | plugins/baseline/include/Adapter/Administration/UgroupPresenter.php | +33 | โ0 | Go to diff View file |
M | plugins/baseline/include/Adapter/AuthorizationsImpl.php | +9 | โ18 | Go to diff View file |
A | plugins/baseline/include/Adapter/Routing/RejectNonBaselineAdministratorMiddleware.php | +66 | โ0 | Go to diff View file |
M | plugins/baseline/include/BaselineTuleapService.php | +9 | โ0 | Go to diff View file |
M | plugins/baseline/include/Domain/Authorizations.php | +2 | โ0 | Go to diff View file |
A | plugins/baseline/include/ServiceAdministrationController.php | +92 | โ0 | Go to diff View file |
M | plugins/baseline/include/baselinePlugin.php | +29 | โ0 | Go to diff View file |
M | plugins/baseline/site-content/fr_FR/LC_MESSAGES/tuleap-baseline.po | +16 | โ0 | Go to diff View file |
A | plugins/baseline/templates/baselines-admin.mustache | +38 | โ0 | Go to diff View file |
A | plugins/baseline/tests/unit/Adapter/Administration/AdminPermissionsPresenterBuilderTest.php | +77 | โ0 | Go to diff View file |
A | plugins/baseline/tests/unit/Adapter/Routing/RejectNonBaselineAdministratorMiddlewareTest.php | +146 | โ0 | Go to diff View file |
A | plugins/baseline/tests/unit/ServiceAdministrationControllerTest.php | +113 | โ0 | Go to diff View file |
M | plugins/baseline/tests/unit/Stub/FullAccessAuthorizationsStub.php | +5 | โ0 | Go to diff View file |
A | plugins/baseline/tests/unit/Stub/ReaderAuthorizationsStub.php | +80 | โ0 | Go to diff View file |
A | plugins/baseline/tests/unit/Support/IsProjectAllowedToUsePluginStub.php | +47 | โ0 | Go to diff View file |
A | plugins/baseline/tests/unit/Support/NoopSapiEmitter.php | +34 | โ0 | Go to diff View file |
M | plugins/graphontrackersv5/include/graphontrackersv5Plugin.php | +1 | โ1 | Go to diff View file |
M | src/common/PFO/Project.php | +6 | โ1 | Go to diff View file |
A | src/common/Plugin/IsProjectAllowedToUsePlugin.php | +34 | โ0 | Go to diff View file |
M | src/common/Plugin/Plugin.php | +6 | โ2 | Go to diff View file |
M | src/common/Project/Group.class.php | +4 | โ1 | Go to diff View file |
M | src/common/Project/Project.class.php | +13 | โ3 | Go to diff View file |
A | src/common/Project/Routing/ProjectByNameRetrieverMiddleware.php | +55 | โ0 | Go to diff View file |
M | src/common/Request/ProjectRetriever.php | +9 | โ0 | Go to diff View file |
M | src/common/User/ForgeUserGroupFactory.php | +12 | โ1 | Go to diff View file |
A | tests/unit/common/Project/Routing/ProjectByNameRetrieverMiddlewareTest.php | +61 | โ0 | Go to diff View file |
A | tests/unit/common/Request/CaptureRequestHandler.php | +53 | โ0 | Go to diff View file |
M | tests/unit/common/Request/ProjectRetrieverTest.php | +42 | โ24 | Go to diff View file |