[Zope-CMF] Re: [Plone-developers] Permissions in a workflow

Lars H. Korte lk@ordix.de
Wed, 29 May 2002 08:36:04 +0200


Hi, I've been posting this to the plone-developers mailinglist and got
the hint to try it in this list.
Please read my Problem below.

alan runyan schrieb:
> 
> > I'm quite new to all this zope/plone and I would like to use the
> > workflow feature.
> 
> cool.
> 
> > Noone but the admin can create a new document.
> 
> are you using default workflow?  if you start messing around with
> workflow -- I cant help you.  you should say what you did to your workflow
> and direct the questions to zope-cmf@zope.org
It was working before I tried to fix a problem with a hint on plone.org.
I created a new workflow called temp_wf with DCWorkflow as basis. Then I
deleted the default_workflow, which was unused.
Everything worked fine and the problem was fixed, but suddenly I
encountered the discribed problem.
When a document comes into a workflow it uses the plone_workflow, which
I did not touch in any way.

BUT, the curiest thing of all: When I create a new Plone Site and then
make the same changes to the workflow as I did before, everything works
absolutely fine!

> <snip lots of traceback />
> 
> >   File Script (Python), line 7, in rename_object
> >   File
> > /opt/Zope-2.5.0-linux2-x86/lib/python/AccessControl/ZopeGuards.py, line
> > 58, in guarded_getattr
> >     (Object: Document.2002-05-28.5055)
> > AttributeError: (see above)
> > ---
> 
> very bizarre.  what version of Plone are you using?
I'm using 0.9.9 Bola release.

> > Just an empty document is now stored in that place.
> > Have I set any security permissions wrong or do I have to configure the
> > workflow somewhere?
> 
> have you done anything to the workflow?
I didn't configure anything further, just created the new workflow and
delete the default, as described on plone.org

> 
> > I appreciate any help and ideas
> 
> I believe this is not a Plone issue.  its a CMF issue.  but I have no seen
> this before with
> Plone 0.9.9 'out of the box'.  have you played w/ worklfow.  please revise
> question and direct it to CMF list.
I thought the workflow package comes with plone and so I first tried to
find an answer in the plone-mailinglist

> ~runyaga

regards
Lars