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.

eZ debug

Timing: Jan 19 2025 01:17:38
Script start
Timing: Jan 19 2025 01:17:38
Module start 'layout'
Timing: Jan 19 2025 01:17:38
Module start 'content'
Timing: Jan 19 2025 01:17:39
Module end 'content'
Timing: Jan 19 2025 01:17:39
Script end

Main resources:

Total runtime1.5238 sec
Peak memory usage4,096.0000 KB
Database Queries74

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.2734152.6406
Module start 'layout' 0.00630.0034 741.914139.4766
Module start 'content' 0.00971.5127 781.3906622.1797
Module end 'content' 1.52240.0014 1,403.570316.1406
Script end 1.5238  1,419.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2245160.0002
Check MTime0.00150.0956160.0001
Mysql Total
Database connection0.00080.051610.0008
Mysqli_queries1.453395.3738740.0196
Looping result0.00110.0731720.0000
Template Total1.488097.720.7440
Template load0.00230.150120.0011
Template processing1.485797.501520.7429
Template load and register function0.00020.012210.0002
states
state_id_array0.00140.092110.0014
state_identifier_array0.00200.128620.0010
Override
Cache load0.00200.1322430.0000
Sytem overhead
Fetch class attribute can translate value0.00100.066230.0003
Fetch class attribute name0.00160.103890.0002
XML
Image XML parsing0.00080.055330.0003
class_abstraction
Instantiating content class attribute0.00000.0016110.0000
General
dbfile0.00070.0480170.0000
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs