sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Sanso (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (SLING-3143) CreateUserServlet.createUser doesn't work on Oak for UserAdmin group members
Date Wed, 09 Oct 2013 12:34:42 GMT

     [ https://issues.apache.org/jira/browse/SLING-3143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Antonio Sanso updated SLING-3143:
---------------------------------

    Comment: was deleted

(was: While I do not like too much this feature of having a special group configured via osgi
that skips ACLs it seems that is a feature of Sling.

I will attach a patch that would create those groups on demand (only for the tests).

[~bdelacretaz] WDYT?)

> CreateUserServlet.createUser doesn't work on Oak for UserAdmin group members
> ----------------------------------------------------------------------------
>
>                 Key: SLING-3143
>                 URL: https://issues.apache.org/jira/browse/SLING-3143
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>         Attachments: SLING-3143-forceAdminSession.patch
>
>
> CreateUserServlet.createUser detects if the current user is a member of the UserAdmin
group (group name is configurable), and if that's the case considers the user as admin and
uses its session to create a new user.
> This fails on Oak, our launchpad/integration-tests CreateUserTest fails.
> I'll attach a patch that works around the problem by forcing the use of an admin session
in this case, but I'm not sure if it's the right thing to do, I'll discuss on the dev list.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message