[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/security/metadirectives.py
Added missing 'attributes' directive in
app.security.metaconfigure.IRequire,
Gustavo Niemeyer
gustavo at niemeyer.net
Fri Mar 2 11:32:07 EST 2007
Log message for revision 72962:
Added missing 'attributes' directive in app.security.metaconfigure.IRequire,
as noted in a debugging section with Chris "radix" Armstrong.
Changed:
U Zope3/trunk/src/zope/app/security/metadirectives.py
-=-
Modified: Zope3/trunk/src/zope/app/security/metadirectives.py
===================================================================
--- Zope3/trunk/src/zope/app/security/metadirectives.py 2007-03-02 13:47:01 UTC (rev 72961)
+++ Zope3/trunk/src/zope/app/security/metadirectives.py 2007-03-02 16:32:07 UTC (rev 72962)
@@ -73,6 +73,12 @@
interfaces listed in the interface attribute.
"""
+ attributes = Tokens(
+ title=u"Attributes",
+ description=u"The attributes to require permission for.",
+ value_type = PythonIdentifier(),
+ required=False)
+
permission = Permission(
title=u"Permission ID",
description=u"The id of the permission to require.")
More information about the Zope3-Checkins
mailing list