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]>
----------------------------------------------------------------