Version edit

Author Message

Steve P

Monday 18 July 2005 7:55:55 am

Can I override the ability of a user group to edit versions? I'd like to only present them with edit a the latest version when updating their own details...

Thanks

Steve

Steve P

Tuesday 19 July 2005 6:50:38 am

Can anyone help with this please? I've tried everything I can think of - doc/forum etc :(

nigel dodd

Wednesday 20 July 2005 7:35:23 am

Unless I don't understand your problem fully the answer is simple: override the edit template with a restrictive one of your own.

You can see an example of this in
http://ez.no/products/ez_publish_cms/documentation/building_an_ez_publish_site/the_guestbook/the_input_template

Pål J Didriksen

Wednesday 20 July 2005 1:29:55 pm

Haven't tried it myself, but according to the new documentation on http://ez.no/doc/ez_publish/technical_manual/3_6/concepts_and_basics/access_control, it is possible to limit the access to version status.

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 18:21:51
Script start
Timing: Jan 18 2025 18:21:51
Module start 'layout'
Timing: Jan 18 2025 18:21:51
Module start 'content'
Timing: Jan 18 2025 18:21:52
Module end 'content'
Timing: Jan 18 2025 18:21:52
Script end

Main resources:

Total runtime0.7339 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 588.9219152.6094
Module start 'layout' 0.00420.0021 741.531339.4141
Module start 'content' 0.00640.7262 780.9453548.9531
Module end 'content' 0.73260.0013 1,329.898412.1953
Script end 0.7339  1,342.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4057160.0002
Check MTime0.00120.1654160.0001
Mysql Total
Database connection0.00060.074910.0006
Mysqli_queries0.685893.4493620.0111
Looping result0.00060.0814600.0000
Template Total0.704195.920.3520
Template load0.00200.274220.0010
Template processing0.702095.661720.3510
Template load and register function0.00020.024810.0002
states
state_id_array0.00110.146710.0011
state_identifier_array0.00100.131020.0005
Override
Cache load0.00170.2284160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.079030.0002
Fetch class attribute name0.00140.192260.0002
XML
Image XML parsing0.00280.385030.0009
class_abstraction
Instantiating content class attribute0.00000.001860.0000
General
dbfile0.00320.4350220.0001
String conversion0.00000.000940.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs