I am using Zope 2.61 on Suse 8.2 robert Am Freitag, 2. Mai 2003 22:33 schrieb robert:
Hi there, I have a freshly created plone portal. I added a user "schmid" with no roles at all I added a document "Doc"
Then I created a script that tested for all permissions wheter user schmid has it. The following script returned true on every permission. This is very wrong. What is the problem ??
user = context.acl_users.getUserById('schmid') for p in context.possible_permissions(): print " %s, %s" % (,p, user.has_permission(p, context)) return printed
mit freundlichen GrĂ¼ssen
Robert Rottermann www.redCOR.ch
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- mit freundlichen GrĂ¼ssen Robert Rottermann www.redCOR.ch