[Zope-CVS] CVS: Products/Ape/lib/apelib/zope2 - security.py:1.2
Christian Zagrodnick
cz@gocept.com
Fri, 11 Apr 2003 05:39:33 -0400
Update of /cvs-repository/Products/Ape/lib/apelib/zope2
In directory cvs.zope.org:/tmp/cvs-serv31654
Modified Files:
security.py
Log Message:
- fixed permission-no-acquire which was not stored
=== Products/Ape/lib/apelib/zope2/security.py 1.1 => 1.2 ===
--- Products/Ape/lib/apelib/zope2/security.py:1.1 Wed Apr 9 23:09:58 2003
+++ Products/Ape/lib/apelib/zope2/security.py Fri Apr 11 05:39:32 2003
@@ -130,7 +130,7 @@
for role in value:
res.append(('permission-role', role, p, ''))
# List means acquired, tuple means not acquired.
- if isinstance(role, TupleType):
+ if isinstance(value, TupleType):
res.append(('permission-no-acquire', '', p, ''))
return res