[prev in list] [next in list] [prev in thread] [next in thread]
List: zope
Subject: Re: [Zope] ZClass and Add/Permission
From: Dieter Maurer <dieter () handshake ! de>
Date: 2003-06-28 18:03:25
[Download RAW message or body]
Andreas Pakulat wrote at 2003-6-28 12:29 +0200:
> On 27.Jun 2003 - 20:21:45, Dieter Maurer wrote:
> > Andreas Pakulat wrote at 2003-6-27 12:40 +0200:
> > > I've got a Problem here with 2 ZClasses I created. The first one -
> > > SemsesterClass is derived from ObjectManager, to allow me to put
> > > instances of the second - LectureClass - into it. I want to do this with
> > > the following code in LectureClass_add:
> > >
> > > context.LectureClass.createInObjectManager(request['id'],request)
> > >
> > > But for this I have to be in a manager's role, even though I added the
> > > Add Lecture Permission to the webeditor role (which will be used for the
> > > logged in users).
> >
> > This is usually not necessary...
> > Though, I cannot tell you why it does not work for you.
>
> You mean, I do not have to have the right Add Lectures to add Instances
> of this ZClass to my site? I can't believe that.
Of course, I do not mean that (you do not need the respective "add" right).
Of course, I mean that you do not have to be Manager
(wasn't this your problem?).
Dieter
_______________________________________________
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 )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic