Bypass approval for object of class x

Author Message

Shurbann Martes

Friday 31 October 2003 5:14:15 am

Hello,

I want to bypass the approval (workflow - Approval) for a certain class.

How can I accomplish this?

Shurbann

Paul Forsyth

Friday 31 October 2003 5:22:48 am

I dont think you can do that for a specific class. When you edit a workflow it looks like you can only limit bypass to users of a section.

btw, there is a problem with bypass we found:

http://ez.no/developer/ez_publish_3/forum/developer/has_anyone_else_had_problems_with_workflow_and_bypass_users

paul

Shurbann Martes

Friday 31 October 2003 5:29:42 am

Hmm..ok I hope this will be a feature for the next eZ to come.

Workaround: Is it possible to force eZ to create an object as another user?
So instead of user x (logged in) it will use user y (user that can post without approval) as creator of object?

Shurbann

Paul Forsyth

Friday 31 October 2003 5:39:45 am

There was this thread recently:

http://ez.no/developer/ez_publish_3/forum/general/change_articles_owner_back_to_previous_owner_after_editing

Short answer: not yet.

paul

Paul Borgermans

Friday 31 October 2003 7:40:05 am

You could do that with a multiplexer workflow which calls the approve workflow for certain classes.

The multiplexer is the one to consider at the root of all workflows imho until the workflow / triggers is made more flexible.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Shurbann Martes

Friday 31 October 2003 2:02:49 pm

Sorry Paul, but I can't follow you on this one.
Can you explain me little more about the multiplexer.

What should I enter in the field "Users without workflow IDs"?

TIA

Shurbann

Paul Borgermans

Saturday 01 November 2003 8:00:05 am

First create an approval workflow in which you specify the editor and possible users/groups who do not need approval.

Second create a multiplexer workflow with a single multiplexer event in which you sepcify sections (if any), classes (that's where you limit which classes need the approve workflow, the others don't). Leave the users without workflow as it is (none selected) and choose the approval you created before.

Third: attach the multiplexer workflow to your publish trigger.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Paul Borgermans

Monday 03 November 2003 2:09:34 pm

Sorry, does not work as ezmultiplexer is still too buggy

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.