[Zope-CMF] [Bug] Publication workflow ineffective

Florent Guillaume fg@nuxeo.com
Tue, 19 Mar 2002 10:49:33 +0000 (UTC)


I consider that behaviour normal, the standard way to search a document
in CMF is to search on review_state='published', which eliminates
documents in the 'visible' state.

Florent


Dieter Maurer  <dieter@handshake.de> wrote:
> I just encountered a problem that has already been addressed in the mailing
> list several times:
> 
>   Using DCWorkflow "CMF default workflow [Revision 2]" the publication
>   workflow is ineffective, as all "visible" content is also globally
>   searchable, i.e. published.
> 
> I think, this is due to the fact, that searchability is
> controlled by "allowedRolesAndUsers" which in turn depends
> on the "View" permission, and that the "visible" state has
> to grant "View" to "Anonymous" in order to make this document
> visible. But, this, too, makes it searchable.
> 
> The best solution, I see at the moment, would be to introduce
> a new permission "Search" used by "allowedRolesAndUsers"
> while "View" controls individual viewing.
> 
> Of course, this would not be nice, as "Search" should usually be
> stricter than "View" and will often be identical to "View".
> Are there better ideas?
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com