[Zope-dev] Request Clarification of Five Support for Z3 Roles

Hanno Schlichting hanno at hannosch.eu
Mon Dec 20 06:11:15 EST 2010


On Mon, Dec 20, 2010 at 11:10 AM, Jeff Rush <jeff at taupro.com> wrote:
> I'm backporting a Zope3 app to Zope2 and hit the snag that I define the
> various possible roles in ZCML using the <role id=...> tag.
>
> Can anyone confirm that there is nothing in/around Five to support that
> tag and so all role definition has to be done the old Zope2 way?
>
> We have the <permission id=...> tag in Zope 2.12.* but I guess neither
> the <role> or <grant> tags, right?

Looking into AccessControl's meta.zcml there seems to be a role tag
defined. But from what I can tell it doesn't actually do anything.

So yes, role/grant are not available in Zope 2.

Hanno


More information about the Zope-Dev mailing list