Hi Dennis!

Another possibility:

While there is no GUI to do it, it is in fact possible to add ACLs directly to 
users (and groups), not just the roles. This can be done programmatically, for 
example when creating the user.

A possible solution for what you want might be to create the DMS folder, and 
set the ACL directly in the user, whenever creating a new user.

Regards from Vienna,

Richard



-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Jan Haderka
Gesendet: Montag, 13. Juni 2011 09:04
An: Magnolia User-List
Betreff: Re: [magnolia-user] DMS: per User ACL



On Jun 10, 2011, at 6:34 PM, Magnolia Forums (on behalf of Dennis Rieks) wrote:

> 
> Hi all,
> 
> we want to create a "home" directory for every user using DMS:
> 
> dms:/home/user1
> dms:/home/user2
> dms:/home/user3
> 
> We changed the "anonymous" role and added "Deny access, Selected and sub 
> nodes, /home" to prevent anonymous users from accessing everything under 
> "/home".
> 
> They are no default DMS ACL entrys for users (user1, user2, user3), so I 
> guess that the default role "deny access" is used.
> 
> The last step is now to allow the users to access their home directories.
> 
> One solution might be to add an "acl_dms" entry to every user node with the 
> according path/permissions settings.

This should work and should be easy using groovy script.

> 
> Is it possible to create a role "home users" and add an ACL Role like 
> "/home/$USER" to it?

No, unfortunately not possible.

> 
> Another idea is to create one role per user with the same name as the user - 
> are there any other options?

That would work too and would allow admin to modify such permissions later via 
AdminCentral. However it will also create maintenance overhead since you should 
keep both in sync and remember to create/delete roles when you create/delete 
user.


HTH,
Jan

> 
> Thanks in advance
> Dennis
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=77b19d8f-ff53-49cd-bd72-7809c5395bc6
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------




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





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

Reply via email to