[Repoze-dev] A question in the tutorial SQLAlchemy + URL Dispatch Wiki (BFG)

2009-07-24 Thread george hu
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

Re: [Repoze-dev] A question in the tutorial SQLAlchemy + URL Dispatch Wiki (BFG)

2009-07-24 Thread Chris McDonough
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):