[Zope-CMF] Re: private docs shown to other members, pending shown

Lynn Walton waltonl@franklin.edu
Mon, 07 Jan 2002 17:12:32 -0600


Thanks, for your response Tres.

O.K. I looked into it again today, and I guess the CMFDefaultWorkflow isn't making pending viewable to anonymous
after all.
On the DCWorkflow ,  in  def setupDefaultWorkflowClassic(wf):  it does grant viewing to anonymous when putting
it into pending state.
I assume this is just a typo?

It's line 230 in the latest cvs version 1.8

230               sdef.setPermission(p_view, 1, (r_anon, r_manager, r_reviewer))

Should I put that in the tracker?

Also, using CMFDefault's DefaultWorkflow .... is it normal that when an object is created and is still private,
additional roles which I created in my portal  are given view permission for it?  If so ... can you point me to
where that code is so I can study it to understand it better.

Lynn

Tres Seaver wrote:

> Lynn Walton wrote:
>
> > I would love to hear from someone at ZC on the questions I asked below regarding this.
> > I'm having a hard time believing that the default workflow that comes with CMF is flawed with respect to
> > having pending things viewable to anonymous user and that it hasn't been fixed yet ... as that seems like
> > a pretty major bug, and I would expect there to be more people who are using CMF to have talked about this
> > problem.
> > Am, I just misunderstanding something?
>
> Lynn,
>
> I can't reproduce the problem you are describing, unless it is a
> manifestation of CMF tracker #410,
>    http://www.zope.org/Products/PTK/Tracker/410
> which affects only portal types which are named differently
> from their underlying class' metatype (in fact, I can't even
> reproduce it for a simple try at that case).
>
> Please submit a Tracker issue, with as much detail as you can,
> to:
>
>    http://www.zope.org/Products/PTK/Tracker
>
> Thanks,
>
> Tres.
> --
> ===============================================================
> Tres Seaver                                tseaver@zope.com
> Zope Corporation      "Zope Dealers"       http://www.zope.com