2 May
2003
2 May
'03
8:33 p.m.
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