I need to be able to permit/deny users ability to edit some parts of pages but 
not others.  My current idea is to modify the template(s) so that in addition 
to the [#if mgml.editMode] ... [/#if] control of the editing bars I would add 
an additional restriction based on the user's roles -- something akin to an 
isUserInRole() call to decide whether to render the editing controls for 
particular collections based on user roles.  

The intent here is to allow, say, a user role that, in effect, gives write 
access to the list of links on the page but doesn't allow editing of any other 
content.  The user would, I expect, need write access to the page as far as the 
ACL is concerned but the template would prevent him from editing anything but 
his assigned part of the page.

Has anyone done anything like this?  Does it work?  And, as always, is there a 
better way to approach this problem?  Am I barking up the right tree?

Thanks,

Lee Haslup


      


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