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

Lars H. Korte lk@ordix.de
Wed, 29 May 2002 09:17:27 +0200


alan runyan schrieb:
> 
> > > 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.
> 
> I believe you must have touched something.  when you are manager goto one of
> the documents and check
> the 'status' of it (the about box will tell you).  then goto
> portal_workflow->workflow you are using->state (the state it is in)
> and then look at the permissions. chances are Users dont have access to view
> it.

The permissions are alright in the states, I didn't touch them.
Do you have some other ideas?

regards
Lars




> 
> > 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
> >