In the chapter of Add authorization, we create a root factory in
the model.py,
class RootFactory(object):
__acl__ = [ (Allow, Everyone, 'view'), (Allow, 'editor', 'edit') ]
def __init__(self, environ):
self.__dict__.update(environ['bfg.routes.matchdict'])
My question is the
On 7/24/09 6:23 PM, george hu wrote:
In the chapter of Add authorization, we create a root factory in
the model.py,
class RootFactory(object):
__acl__ = [ (Allow, Everyone, 'view'), (Allow, 'editor', 'edit') ]
def __init__(self, environ):