On Fri, 2011-02-18 at 16:43 +0000, Chris Withers wrote: > Hi All, > > Glad to see this feature: > http://docs.pylonsproject.org/projects/pyramid/1.0/narr/security.html#setting-a-default-permission > > Slightly confused by the cumbersome '__no_permission_required__' > requirement. > > @view_config(context=Blog, name='add_entry.html', permission=None) > > ...seems an explicit and less cumbersome way of specifying the same > thing, what am I missing?
You're missing the fact that the default value of the permission= argument to view_config is None, so there's no way to tell that from an explicit None being passed. - C -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.