stable
Clone or download
Read-only
At this stage (this story) we covers only default permissions. The configuration part (where we define who is writer, sysop & co) will be done in the next story. This commit introduce a dependency between mediawiki_standalone and legacy mediawiki plugin because we need the definition of a Global Mediawiki Administrator. The REST test will be added when the functional part is completed. Part of: story #25738 manage Tuleap users & project access Change-Id: If6c96f9a2147df90ec7ffd802374cd110daa17b4
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/dynamic_credentials/include/User/DynamicUser.php | +1 | −1 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Permissions/UserPermissionsBuilder.php | +46 | −0 | Go to diff View file |
M | plugins/mediawiki_standalone/include/REST/v1/GetPermissionsRepresentation.php | +3 | −1 | Go to diff View file |
M | plugins/mediawiki_standalone/include/REST/v1/MediawikiStandaloneProjectResource.php | +13 | −1 | Go to diff View file |
M | plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php | +6 | −0 | Go to diff View file |
R | plugins/mediawiki_standalone/include/REST/v1/PermissionsRepresentation.php | Go to diff View file | ||
A | plugins/mediawiki_standalone/tests/unit/Permissions/UserPermissionsBuilderTest.php | +94 | −0 | Go to diff View file |
A | src/common/User/ForgePermissionsRetriever.php | +30 | −0 | Go to diff View file |
M | src/common/User/ForgeUserGroupPermission/RESTReadOnlyAdmin/RestReadOnlyAdminUser.php | +1 | −1 | Go to diff View file |
M | src/common/User/ForgeUserGroupPermissionsManager.class.php | +4 | −5 | Go to diff View file |
M | src/common/User/User.class.php | +6 | −1 | Go to diff View file |
M | tests/lib/Builders/UserTestBuilder.php | +60 | −14 | Go to diff View file |
A | tests/unit/tests/Builders/UserTestBuilderTest.php | +44 | −0 | Go to diff View file |