[Zope-CMF] dcworkflow variables and security ManagePortal

Sune Brøndum Wøller sune at syntetisk.dk
Mon Jan 26 14:03:50 EST 2004



> -----Original Message-----
> From: Dieter Maurer [mailto:dieter at handshake.de]
> Sent: 26. januar 2004 19:48
> To: Sune Brøndum Wøller
> Cc: Zope-Cmf at Zope. Org
> Subject: RE: [Zope-CMF] dcworkflow variables and security ManagePortal
>
>
> Sune Brøndum Wøller wrote at 2004-1-26 03:05 +0100:
> > ...
> >1) I create a workflow variable in the variables tab of the workflow.
> >It is here (not under the states or transitions) that I set the default
> >expression to:
> >state_change/new_state/title | nothing
>
> Your problem is not access to a workflow variable but
> access to "new_state/title".
>
> Almost surely, states, too, have the
> "declareObjectProtected(ManagePortal)".
> Provide explicit "declareProtected(View, 'title', 'getId', 'title_or_id',
> 'title_and_id')" security declarations to make "title" (and friends)
> available.

this is not a big problem, I solved it in other ways,
shouldnt it be possible to access title etc. by default ?




More information about the Zope-CMF mailing list