roles: create and edit

Author Message

Kai Duebbert

Wednesday 11 February 2004 9:37:03 pm

Hi,

I need the facility that users can create objects but not be allowed to change them afterwards. Just assigning "create" rights doesn't work because they also need "edit" rights to input anything. Is there really no solution to this? (searched ez.no already)

Thanks,
Kai

Marco Zinn

Friday 13 February 2004 12:30:22 pm

I think, as long as "create" needs "edit" (did noone fix this yet?), i think, you must do some dirty stuff.
I'm not into this, but maybe you can use an "after-publish"-workflow to move the node to some other place or change the section ID or something to prevent to users to edit the objects again. Just a wild guess.

Marco
http://www.hyperroad-design.com

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 16:25:16
Script start
Timing: Jan 18 2025 16:25:16
Module start 'layout'
Timing: Jan 18 2025 16:25:16
Module start 'content'
Timing: Jan 18 2025 16:25:17
Module end 'content'
Timing: Jan 18 2025 16:25:17
Script end

Main resources:

Total runtime0.6862 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.8047152.6094
Module start 'layout' 0.00520.0028 740.414139.4141
Module start 'content' 0.00800.6767 779.8281521.5547
Module end 'content' 0.68480.0014 1,301.38288.1875
Script end 0.6861  1,309.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4554160.0002
Check MTime0.00130.1902160.0001
Mysql Total
Database connection0.00070.105110.0007
Mysqli_queries0.645694.0825540.0120
Looping result0.00060.0941520.0000
Template Total0.657895.920.3289
Template load0.00200.287820.0010
Template processing0.655895.572220.3279
Template load and register function0.00020.022310.0002
states
state_id_array0.00070.104710.0007
state_identifier_array0.00100.151120.0005
Override
Cache load0.00160.2278110.0001
Sytem overhead
Fetch class attribute can translate value0.00060.089820.0003
Fetch class attribute name0.00120.172130.0004
XML
Image XML parsing0.00070.099820.0003
class_abstraction
Instantiating content class attribute0.00000.001830.0000
General
dbfile0.00080.1137160.0000
String conversion0.00000.001140.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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
1content/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs