[CMF-checkins] CVS: Products/CMFCore/tests/base - dummy.py:1.20
Yvo Schubbe
y.2004_ at wcm-solutions.de
Sun Aug 8 14:29:38 EDT 2004
Update of /cvs-repository/Products/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv29221/CMFCore/tests/base
Modified Files:
dummy.py
Log Message:
- hardended getPortalRoles
=== Products/CMFCore/tests/base/dummy.py 1.19 => 1.20 ===
--- Products/CMFCore/tests/base/dummy.py:1.19 Mon Aug 2 19:10:32 2004
+++ Products/CMFCore/tests/base/dummy.py Sun Aug 8 14:29:38 2004
@@ -173,7 +173,6 @@
_domain = 'http://www.foobar.com'
_path = 'bar'
- __ac_roles__ = ('Member', 'Reviewer')
def absolute_url(self, relative=0):
return '/'.join( (self._domain, self._path, self._id) )
@@ -186,6 +185,9 @@
def unrestrictedTraverse(self, path, default=None, restricted=0):
return self.acl_users
+
+ def userdefined_roles(self):
+ return ('Member', 'Reviewer')
class DummyUser(Implicit):
More information about the CMF-checkins
mailing list