You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/10/03 15:39:42 UTC
[jira] [Updated] (SLING-3144) UserAdmin and GroupAdmin groups are
missing on our Oak setup
[ https://issues.apache.org/jira/browse/SLING-3144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz updated SLING-3144:
---------------------------------------
Description:
Some of my SLING-2788 integration tests (for example PrivilegesInfoTest) fail as the UserAdmin and GroupAdmin don't initially exist.
In Jackrabbit those groups are apparently created by UserAccessControlProvider [1] - I'll ask the Oak team how to have the equivalent in Oak.
As a workaround, creating those groups as follows allows a few more tests to pass - but for the final setup the groups need to be created with specific security-related parameters.
curl -u admin:admin -F:name=GroupAdmin http://localhost:8080/system/userManager/group.create.html
curl -u admin:admin -F:name=UserAdmin http://localhost:8080/system/userManager/group.create.html
[1] http://jackrabbit.apache.org/api/2.2/org/apache/jackrabbit/core/security/user/UserAccessControlProvider.html
was:
Some of my SLING-2788 integration tests (for example PrivilegesInfoTest) fail as the UserAdmin and GroupAdmin don't initially exist.
In Jackrabbit those groups are apparently created by UserAccessControlProvider [1] - I'll ask the Oak team how to have the equivalent in Oak.
As a workaround, creating those groups as follows allows a few more tests to pass - but for the final setup the groups need to be created with specific security-related parameters.
{code}
curl -u admin:admin -F:name=GroupAdmin http://localhost:8080/system/userManager/group.create.html
curl -u admin:admin -F:name=UserAdmin http://localhost:8080/system/userManager/group.create.html
{code}
[1] http://jackrabbit.apache.org/api/2.2/org/apache/jackrabbit/core/security/user/UserAccessControlProvider.html
> UserAdmin and GroupAdmin groups are missing on our Oak setup
> ------------------------------------------------------------
>
> Key: SLING-3144
> URL: https://issues.apache.org/jira/browse/SLING-3144
> Project: Sling
> Issue Type: Bug
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
>
> Some of my SLING-2788 integration tests (for example PrivilegesInfoTest) fail as the UserAdmin and GroupAdmin don't initially exist.
> In Jackrabbit those groups are apparently created by UserAccessControlProvider [1] - I'll ask the Oak team how to have the equivalent in Oak.
> As a workaround, creating those groups as follows allows a few more tests to pass - but for the final setup the groups need to be created with specific security-related parameters.
> curl -u admin:admin -F:name=GroupAdmin http://localhost:8080/system/userManager/group.create.html
> curl -u admin:admin -F:name=UserAdmin http://localhost:8080/system/userManager/group.create.html
> [1] http://jackrabbit.apache.org/api/2.2/org/apache/jackrabbit/core/security/user/UserAccessControlProvider.html
--
This message was sent by Atlassian JIRA
(v6.1#6144)