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"
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,
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!