Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
Named ACL map

ACL contains list of permit rules, for example::

  >> acl = ACL('test', 'Test ACL')
  >> acl.allow('system.Everyone', 'View')
  >> acl.deny('system.Everyone', 'Edit')

  >> list(acl)
  [(Allow, 'system.Everyone', ('View',)),(more...)

src/p/t/ptah-0.8.0/ptah/__init__.py   ptah(Download)
 
# acl
from ptah.security import ACL
from ptah.security import ACLsProperty
from ptah.security import get_acls

src/p/t/ptah-HEAD/ptah/__init__.py   ptah(Download)
 
# acl
from ptah.security import ACL
from ptah.security import ACLsProperty
from ptah.security import get_acls