Limiting users to certain functionality of modules?

Author Message

Clemens T

Tuesday 17 May 2005 7:23:15 am

Heya all...
Is it possible for me to limit some users to parts of my module. On function level?
Thanks for all input!
Clemens

Clemens T

Wednesday 18 May 2005 3:30:12 pm

This can be done in the roles and policies section, you have to be sure you expose your functionality through $FunctionList[] in your module.php.

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 11:13:03
Script start
Timing: Jan 18 2025 11:13:03
Module start 'layout'
Timing: Jan 18 2025 11:13:03
Module start 'content'
Timing: Jan 18 2025 11:13:04
Module end 'content'
Timing: Jan 18 2025 11:13:04
Script end

Main resources:

Total runtime0.6338 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.0469152.6406
Module start 'layout' 0.00500.0029 740.687539.4922
Module start 'content' 0.00800.6239 780.1797418.0703
Module end 'content' 0.63190.0019 1,198.25008.1250
Script end 0.6338  1,206.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5049160.0002
Check MTime0.00130.2117160.0001
Mysql Total
Database connection0.00070.104010.0007
Mysqli_queries0.595593.9475520.0115
Looping result0.00050.0778500.0000
Template Total0.606995.720.3034
Template load0.00250.395420.0013
Template processing0.604495.351120.3022
Template load and register function0.00020.036310.0002
states
state_id_array0.00070.112810.0007
state_identifier_array0.00080.124920.0004
Override
Cache load0.00180.276790.0002
Sytem overhead
Fetch class attribute can translate value0.00050.075410.0005
Fetch class attribute name0.00150.234120.0007
XML
Image XML parsing0.00010.021910.0001
class_abstraction
Instantiating content class attribute0.00000.001120.0000
General
dbfile0.00070.1147100.0001
String conversion0.00000.000840.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs