[Zope] Zope2b1 and Zclass permission ... something missing

Kevin Dangoor kid@kendermedia.com
Thu, 29 Jul 1999 08:13:53 -0700 (PDT)


--- Michel Pelletier <michel@digicool.com> wrote:
> 
> 
> > -----Original Message-----
> > From: Kevin Dangoor [mailto:kid@kendermedia.com]
> > Sent: Wednesday, July 28, 1999 10:05 PM
> > To: Bill Anderson
> > Cc: zope@zope.org
> > Subject: Re: [Zope] Zope2b1 and Zclass permission
> ... 
> > something missing
> > 
> > I wrote:   
>
http://www.zope.org/pipermail/zope/1999-July/007365.html
> > about the same problem..
> > 
> From CHANGES.txt:

[instructions on using new permission objects deleted]

The new permission scheme makes sense, and I think it
is nice and consistent... But, there are a couple
things that I'm not sure are working as they should.

1) Am I correct in assuming that if something is
listed as an "inherited permission", then that should
be available in the Define Permissions tab for use?
eg. "Access contents information" is an inherited
permission. I should be able to select "Access
contents information" from the drop down for the
"Access contents information" permission mapping,
right? For some reason that's not listed though...

2) Interestingly enough, ZClasses within ZClasses seem
to behave more as I would expect them to (listing the
permissions I would expect them to). However, I find
that I get a "waaa" error sometimes when I try to
change the permissions.

Traceback (innermost last):
  File C:\Program
Files\Byproducts\lib\python\ZPublisher\Publish.py,
line 256, in publish_module
  File C:\Program
Files\Byproducts\lib\python\ZPublisher\Publish.py,
line 161, in publish
  File C:\Program
Files\Byproducts\lib\python\ZPublisher\mapply.py, line
154, in mapply
    (Object: manage_setPermissionMapping)
  File C:\Program
Files\Byproducts\lib\python\ZPublisher\Publish.py,
line 98, in call_object
    (Object: manage_setPermissionMapping)
  File C:\Program
Files\Byproducts\lib\python\AccessControl\PermissionMapping.py,
line 136, in manage_setPermissionMapping
    (Object: KMItem)
    (Info: (['Add Database Methods', 'Add Documents,
Images, and Files', 'Add External Methods', 'Add
Folders', 'Add Item', 'Add MailHost objects', 'Add
Manufacturer', 'Add Products', 'Add User Folders',
'Add Versions', 'Add ZCatalogs', 'Add Zope Drafts',
'Approve draft changes', 'Change DTML Documents',
'Change DTML Methods', 'Change Database Methods',
'Change External Methods', 'Change Images and Files',
'Change Versions', 'Change configuration', 'Change
proxy roles', 'Delete objects', 'FTP access',
'Join/leave Versions', 'Manage ZCatalog Entries',
'Manage users', 'Save/discard Version changes',
'Search ZCatalog', 'Use Database Methods', 'Use
mailhost services', 'View', 'View management
screens'], 'Access contents information', 0))

Kevin
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com