[ZCM] [ZC] 275/ 1 Request "setPermissionDefault not setting anything at all."
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Thu, 07 Mar 2002 11:25:15 -0500
Issue #275 Update (Request) "setPermissionDefault not setting anything at all."
Status Pending, Zope/bug critical
To followup, visit:
http://collector.zope.org/Zope/275
==============================================================
= Request - Entry #1 by sidnei on Mar 7, 2002 11:25 am
Uploaded: "Test-0.1.tgz"
- http://collector.zope.org/Zope/275/Test-0.1.tgz/view
This is an issue which i have posted to the list and
Chris McDonough told me to put on the collector, so
here it is.
I've created a Class that is based on Folder. On this
class, i set __ac_roles__ to create a few roles and
use setPermissionDefault do assign some permissions
to these roles. However, the roles dont get any permission
set, which you can test by creating a user Test Folder, creating
a User Folder and creating a user with Produtor role.
Result: the user cannot log in. But if you go to the Security
tab of the same folder and check the 'View management screens'
on the Produtor role, the user can log in.
So, i dont know exactly whats going on here, but seems to be
a serious bug.
Test Class attached. Thanx
==============================================================