Forums / Setup & design / users and roles

users and roles

Author Message

Mads Ovesen

Wednesday 23 January 2008 3:09:51 am

Hi,
If a user is placed in more user groups than one, does he automatically inherit the roles that is attached to all the user groups? Or only the roles that is attached to the user group of the main node of the user?

/m

Greg McAvoy-Jensen

Wednesday 23 January 2008 7:09:47 am

This is indeed a way you can provide additional roles and policies to a user! Just add locations of that object (user) to place them in additional user groups.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

eZ debug

Timing: Jan 19 2025 01:22:00
Script start
Timing: Jan 19 2025 01:22:00
Module start 'content'
Timing: Jan 19 2025 01:22:01
Module end 'content'
Timing: Jan 19 2025 01:22:01
Script end

Main resources:

Total runtime0.7020 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.9766180.8516
Module start 'content' 0.00650.6871 770.8281529.1719
Module end 'content' 0.69360.0084 1,300.000042.1406
Script end 0.7019  1,342.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4668140.0002
Check MTime0.00140.1967140.0001
Mysql Total
Database connection0.00120.176210.0012
Mysqli_queries0.655393.3499550.0119
Looping result0.00060.0867530.0000
Template Total0.664494.620.3322
Template load0.00250.361020.0013
Template processing0.661894.281420.3309
Template load and register function0.00020.028910.0002
states
state_id_array0.00080.113210.0008
state_identifier_array0.00330.470620.0017
Override
Cache load0.00200.278880.0002
Sytem overhead
Fetch class attribute can translate value0.00090.123120.0004
Fetch class attribute name0.00120.168830.0004
XML
Image XML parsing0.00080.110020.0004
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00310.4450200.0002
String conversion0.00000.006530.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs