hi, 

 

 

How can i define here that, Give me the string back, if it matches the 
"SupportGroup" in acl line(#acl SupportGroup,DevGroup:read,write 
FranceGroup:read).

 

def getAcl(request, pagename):
    pg = Page(request, pagename)
    pi = pg.get_pi()
    ret = pi["acl"].getString()
    if ret == '':
        ret = "not Defined"
    return ret


this code is giving me whole acl list for pages. but i want to get only those 
PageList where i defined acl's for my "SupportGroup".

 

This question is related with my last mail.I want to change this 
macro(http://moinmo.in/MacroMarket/1.6_AdminTools?action=AttachFile&do=view&target=AllPagesWithACL.py)
 littlebit.

 

thanks in advance, 

 

Regards, 

Waqas 

 


_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
------------------------------------------------------------------------------
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to