Restricting User to Publish...

Author Message

Sandeep Kadam

Monday 12 July 2010 6:05:00 am

Hello All,

In my site, I have two users one Editor and one Admin.
Editor can only Create a page or modify the existing page but he should not be able to publish that changes or edits. And only admin can approve and publish that changes after checking it from his drafts.
so can any one help me in setting or restincting editor from publishing.

Thanks,
Sandeep Kadam

Ivo Lukac

Monday 12 July 2010 9:25:00 am

There is a default approval workflow (http://ez.no/doc/ez_publish/technical_manual/4_x/reference/workflow_events/approve) and some custom ones (on projects.ez.no) for this.

But I would suggest to use content object states, it is simpler to manage and easily implement. Though, can't find any documentation for it currently...

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Peter Keung

Monday 12 July 2010 10:14:07 am

Here's an article on object states:

http://share.ez.no/articles/ez-publish/ez-publish-knowledge-series-editorial-workflow-with-object-states

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Ivo Lukac

Tuesday 13 July 2010 1:42:12 am

Ah, excellent, thanks :)

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

FX Ratnam

Monday 25 October 2010 6:20:49 am

Hi,

I need to select people to valid publish workflow instead of groups. But we cannot do that with ezPublish default settings.

Could you tell me if we could change this settings please ?

Sorry for my bad english... Thanks

Best regards,

Fx

Nicolas Pastorino

Monday 25 October 2010 10:10:26 am

Hi FX,

You want to have one person validating publication instead of a group, this in the context of an approval workflow. Just making sure we understand properly.

Let us know,
Cheers

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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 18 2025 11:22:12
Script start
Timing: Jan 18 2025 11:22:12
Module start 'layout'
Timing: Jan 18 2025 11:22:12
Module start 'content'
Timing: Jan 18 2025 11:22:13
Module end 'content'
Timing: Jan 18 2025 11:22:13
Script end

Main resources:

Total runtime0.8695 sec
Peak memory usage4,096.0000 KB
Database Queries73

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9141152.6250
Module start 'layout' 0.00520.0027 740.539139.4453
Module start 'content' 0.00790.8600 779.9844704.6328
Module end 'content' 0.86790.0015 1,484.617216.1641
Script end 0.8694  1,500.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3640160.0002
Check MTime0.00140.1565160.0001
Mysql Total
Database connection0.00070.081210.0007
Mysqli_queries0.802492.2796730.0110
Looping result0.00080.0968710.0000
Template Total0.834496.020.4172
Template load0.00190.214220.0009
Template processing0.832595.747720.4163
Template load and register function0.00010.011410.0001
states
state_id_array0.00120.139110.0012
state_identifier_array0.00090.101920.0004
Override
Cache load0.00160.1807350.0000
Sytem overhead
Fetch class attribute can translate value0.00080.089150.0002
Fetch class attribute name0.00160.1895100.0002
XML
Image XML parsing0.00220.255350.0004
class_abstraction
Instantiating content class attribute0.00000.0024110.0000
General
dbfile0.00140.1629360.0000
String conversion0.00000.000840.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs