How do I restrict the creation of objects under own object

Author Message

Eirik Alfstad Johansen

Wednesday 21 January 2004 2:22:35 pm

Hi,

I'm trying to create a support system and hence I need a user to be able to create support requests, and our staff and the user to create support replies under this request. So my question is this:

Is there any way to accomplish this using access roles, meaning that a user can only create and view support replies under their own support request? And if not, is there any other way of going about this? I was thinking about creating an access rule specific to the user as a post publish event for each support request, but that seems like a hassle.

Thanks in advance !

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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 00:20:59
Script start
Timing: Jan 19 2025 00:20:59
Module start 'layout'
Timing: Jan 19 2025 00:20:59
Module start 'content'
Timing: Jan 19 2025 00:20:59
Module end 'content'
Timing: Jan 19 2025 00:20:59
Script end

Main resources:

Total runtime0.5716 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.0046 588.1719152.6563
Module start 'layout' 0.00460.0023 740.828139.5078
Module start 'content' 0.00690.5633 780.3359462.0781
Module end 'content' 0.57020.0014 1,242.41418.0938
Script end 0.5716  1,250.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5357160.0002
Check MTime0.00140.2394160.0001
Mysql Total
Database connection0.00060.109510.0006
Mysqli_queries0.534393.4769460.0116
Looping result0.00050.0828440.0000
Template Total0.540294.520.2701
Template load0.00190.336120.0010
Template processing0.538294.157820.2691
Template load and register function0.00010.019610.0001
states
state_id_array0.00130.222710.0013
state_identifier_array0.00070.126820.0004
Override
Cache load0.00160.2734100.0002
Sytem overhead
Fetch class attribute can translate value0.00100.168710.0010
Fetch class attribute name0.00080.142920.0004
XML
Image XML parsing0.00040.075410.0004
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.1279160.0000
String conversion0.00000.001640.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
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs