Yes! Thanks for pointing that out. I think we worked around this with our own 
MgnlUser subclass if I remember correctly :-(

Regards from Vienna,

Richard

> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:user-list-owner@magnolia-
> cms.com] Im Auftrag von Edgar Vonk (via Magnolia Forums)
> Gesendet: Dienstag, 05. August 2014 14:21
> An: Magnolia User List
> Betreff: [magnolia-user] Re: JCR Cluster Config ?
> 
> One more (big) caveat:
> 
> In Magnolia 5 the MgnlUser class (incorrectly) assumes that _all_ users are
> always stored in the 'users' JCR workspace. Including public users. This is
> hardcoded in the 'private boolean hasAny' method:
> 
>       final Collection<String> groupsOrRoles =
> MgnlContext.doInSystemContext(new
> SilentSessionOp<Collection<String>>(RepositoryConstants.USERS) {
> 
> You will come across this once you try to publish content.
> 
> I will create a Magnolia ticket for this. The code should obtain the specific 
> JCR
> workspace from the UserManager class in use. That is what it is for..
> 
> --
> Context is everything: http://forum.magnolia-
> cms.com/forum/thread.html?threadId=284de4da-6682-4862-96ff-
> 78320f69428a
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-
> lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to