stable

Clone or download

Read-only

Create security roles dedicated to baseline plugin

Part of epic #12142 Baseline v1 Simple permission mechanism where we can assign a user group on a project to a role, which gives permissions. Change-Id: Ie9625dad8568f58b69bf06b8410bef1a1c88c7af

Modified Files

Name
M db/install.sql +13 −0 Go to diff View file
M db/uninstall.sql +1 −0 Go to diff View file
A include/Adapter/RoleAssignmentRepositoryAdapter.php +63 −0 Go to diff View file
M include/Baseline/PermissionsImpl.php +44 −8 Go to diff View file
A include/Baseline/Role.php +27 −0 Go to diff View file
A include/Baseline/RoleAssignment.php +61 −0 Go to diff View file
A include/Baseline/RoleAssignmentRepository.php +32 −0 Go to diff View file
M include/REST/BaselineController.php +15 −5 Go to diff View file
M include/Support/DependenciesContext.php +39 −1 Go to diff View file
M phpunit/Baseline/PermissionsImplTest.php +9 −6 Go to diff View file
M phpunit/REST/BaselineControllerTest.php +18 −0 Go to diff View file