disable versioning for certain usergroups

Author Message

Sebastiaan van der Vliet

Wednesday 21 April 2004 4:05:10 am

Hi,

We are in the process of developing an extranet application.

In principle there are 2 approaches:
1. the user contributes items, and has the option to edit items he/she contributed.
2. the user contributes items which then become property of the extranet community and can no longer be edited by the individual who contributed the item

We prefer the first approach but run into a number of problems:
1. Once a version has gone through a workflow system past the approval of an editor, is the version still owned by the person who originally contributed it? If not, we can not give an overview of all items contributed by a user...

2. We want to make sure the user who contributes an item through the frontend is not faced with the full functionality of the system in terms of versioning etc.
However, the full versioning functionality should remain available to the editor of the site. In other words: we want to be able to disable versioning for certain usergroups. Users of particular groups should not edit a copy of the live version, but the live version itself. Does anyone know if this is this possible?

3. We want to display a list of objects per user per status (published), a modified version of object_count_by_user_id (http://ez.no/ez_publish/documentation/reference/data_fetching/content). In this way we could at least give the user some feedback about what he/she published. Has anyone done this before?

Thanks for your time,

Regards,
Sebastiaan

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

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 31 2025 04:22:58
Script start
Timing: Jan 31 2025 04:22:58
Module start 'layout'
Timing: Jan 31 2025 04:22:58
Module start 'content'
Timing: Jan 31 2025 04:22:59
Module end 'content'
Timing: Jan 31 2025 04:22:59
Script end

Main resources:

Total runtime1.0937 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0039 588.2656151.2266
Module start 'layout' 0.00390.0018 739.492236.6797
Module start 'content' 0.00571.0871 776.1719871.1094
Module end 'content' 1.09280.0008 1,647.28137.8125
Script end 1.0937  1,655.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.2591160.0002
Check MTime0.00130.1148160.0001
Mysql Total
Database connection0.00050.045110.0005
Mysqli_queries1.053296.2940460.0229
Looping result0.00030.0277440.0000
Template Total1.067697.620.5338
Template load0.00170.156520.0009
Template processing1.065997.457520.5330
Template load and register function0.00120.109810.0012
states
state_id_array0.00170.156510.0017
state_identifier_array0.00140.127120.0007
Override
Cache load0.00140.1270170.0001
Sytem overhead
Fetch class attribute can translate value0.00050.049410.0005
Fetch class attribute name0.00160.149020.0008
XML
Image XML parsing0.00290.263110.0029
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00320.2897170.0002
String conversion0.00000.000540.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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
4content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs