[Moin-user] variable in template for acl

R.Bauer rb.proj at gmail.com
Mon Mar 23 11:42:06 EDT 2009


waqas ahmad schrieb:
> Hi, 
>  
> i have used "@ME@" variable with acl for my template.like this
>  
> #acl @ME@:read,write,revert,delete -All:
>  
> The probelm is that, when user without admin rights use this template and save the contents, then page does not save the contents. It says, 
> You can't change ACLs on this page since you have no admin rights on it! .
>  
> 
> Can you tell me please that how can i use variable with acl and save the page without admin rights.


You need hierarchical acls and admin rights inherited from the parent
page. Then the user is allowed to change admin rights on the child page
until he saved that page.

Without hierarchical acls and no default admin right it is not possible
otherwise everyone could change acls.

cheers
Reimar









> 
>  
>  
> Thanks a lot. 
>  
> Best Regards, 
>  
> Waqas Ahmad
> 
> 
>  
> _________________________________________________________________
> More than messages–check out the rest of the Windows Live™.
> http://www.microsoft.com/windows/windowslive/
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user





More information about the Moin-user mailing list