John Eikenberry writes:
> Note: I'm still using Zope 2.2.5, which is why I'm forced to use
> __ac_permissions__ and not the new security code in 2.3.x.
>
> In the documentation I've found on how __ac_permissions__ works you are
> supposed to be able to set default roles for a permission in a 3rd tuple.
> I've tried various things and can never seem to get them to take effect.
> The acquired permissions always take precedence.
That's as it should be.
The default is used, when there are no other permission->role mappings.
> Has anyone had any sucess with default roles in the __ac_permissions__? If
> so how, if not what did you do to automatically set default roles for a
> product?
I think, I did (a long time ago) and "__ac_permissions__"
worked well.
Dieter
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )