Users in ezPublish and modules

Author Message

Clemens T

Tuesday 17 May 2005 7:18:17 am

Heya all.. what if I have the following scenario:

A large custom ezpublish content object defined by myself. It contains 20 textboxes, and users of the group 'write users' are able to change the content of the first 10 textboxes and read all others. Users of the group 'read users'.. are able to read all, but none can be changed. What kind of policy would I use.. or should I create my own 'access-layer'? If so, how is that done?

What's your opinion?
Thanks!
Clemens

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 01:21:24
Script start
Timing: Jan 31 2025 01:21:24
Module start 'layout'
Timing: Jan 31 2025 01:21:24
Module start 'content'
Timing: Jan 31 2025 01:21:24
Module end 'content'
Timing: Jan 31 2025 01:21:24
Script end

Main resources:

Total runtime0.0227 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1328151.2109
Module start 'layout' 0.00480.0037 739.3438220.6875
Module start 'content' 0.00850.0127 960.0313993.6797
Module end 'content' 0.02120.0014 1,953.710929.9922
Script end 0.0226  1,983.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.1248140.0002
Check MTime0.00104.5815140.0001
Mysql Total
Database connection0.00072.943810.0007
Mysqli_queries0.002611.504730.0009
Looping result0.00000.048410.0000
Template Total0.00104.610.0010
Template load0.00083.677410.0008
Template processing0.00020.882010.0002
Override
Cache load0.00052.397610.0005
General
dbfile0.00104.375280.0001
String conversion0.00000.026340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs