[Zope] ZClass permissions
Darcy Clark
darcyc@engin.umich.edu
Mon, 03 Jan 2000 18:04:04 -0500
I wrote a ZClass that uploads files and sets several properties for the
file, which I am running 'programmatically' with the following code :
<dtml-with "PARENTS[1].files">
<dtml-with "manage_addProduct['CourseDocument']">
<dtml-call "CourseDocumentClass_add(_.None, _, NoRedir=1)">
</dtml-with>
</dtml-with>
this code works only when I am logged in as Superuser.....I created a
user-defined role called 'Editor' and set all of the permissions that I
thought would be necessary for this role (e.g. Upload Files, etc...) but
I get an error :
"You are not authorized to access CourseDocumentClass"
Is there a permission setting somewhere that I need to enable for
Editors to be able to use this class ?
thanks for any help,
Darcy
--
---------------------------------------------------
Ph: (734) 764 3377
Email: darcyc@engin.umich.edu
URL: http://www-personal.engin.umich.edu/~darcyc/
---------------------------------------------------
'If you're not part of the solution, you're part of the precipitate'
..... Steven Wright