Sub user groups role inheriance in EZ, is it possible?

Author Message

Tore Skobba

Wednesday 15 October 2003 8:52:12 am

Hi all

Trying to configure my user groups as explained below. But I do not get it to work

My simple user conf.:
USER GROUP ROLE
anonymous users Read all content in section "anon"
guest accounts Read all content in section "guest"
students Read all content in section "stud"

Where the students usergroup is placed within, or below the guest accounts usergroup. Does this then make students inherit guest accounts roles? To my best knowledge this is not the case, can anyone verify this?

cheers
Tore

Jan Borsodi

Thursday 16 October 2003 3:53:31 am

Usergroup inheritance is not supported in eZ publish yet.
But in your case you can assign the guest role to the students user group (in addition to the student role) and they will get the correct policies.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Thomas Schamm

Monday 27 October 2003 2:51:44 pm

Hi Jan,

you're right, one can add the user group 'students' to the role, but is there a possibility to add a user group to a role when a special person (not the admin) adds a new user group.

I.e. I'm working on a site for a headgroup of several skiing groups. Every user should be able to add himself to his group (this works). But i want to assign some persons the right to create a new group. So i need to implement a fuction, when a new user group is created, that it is connected automatically to the role which is present for all user groups.
Any Idea?

Regards, Thomas

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

Main resources:

Total runtime0.7216 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.1563152.6563
Module start 'layout' 0.00760.0045 740.812539.5078
Module start 'content' 0.01220.7078 780.3203566.7266
Module end 'content' 0.71990.0016 1,347.046912.1094
Script end 0.7216  1,359.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.5288160.0002
Check MTime0.00150.2090160.0001
Mysql Total
Database connection0.00120.173110.0012
Mysqli_queries0.662491.7984590.0112
Looping result0.00080.1065570.0000
Template Total0.662691.820.3313
Template load0.00210.291720.0011
Template processing0.660491.526420.3302
Template load and register function0.00020.027210.0002
states
state_id_array0.00090.124410.0009
state_identifier_array0.00180.255120.0009
Override
Cache load0.00170.2348230.0001
Sytem overhead
Fetch class attribute can translate value0.00080.117430.0003
Fetch class attribute name0.00140.190940.0003
XML
Image XML parsing0.00070.102730.0002
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00110.1470170.0001
String conversion0.00000.001740.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs