permission='users')
should fix that.
The way the root factory is currently set up in the Pyramid docs, a
short method is used. I debated whether to mimic pyramid's current
config, or whether to set permissions using more verbose names as you
tried.
class RootFactory(object):
__acl__ = [ (Allow, Authenticated, 'authenticated'),
(Allow, 'group:user', 'user'),
(Allow, 'group:admin', 'admin') ]
This is the default ACL - the permission equivalency check takes place
on the last field in each tuple. I'll include a better example in the
docs. Thanks for trying it out.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.