User group hierarchy and separate profile

Author Message

Rio Murata

Thursday 21 February 2008 9:42:21 am

Hello there,

Thank you for this good looking CMS. I've just installed eZPublish 4.0 and it seems very promising.

Now, I'm wondering if there is a way to create a permission control for editing user profiles.

I'm currently planning a site for a language school which has a user like below.

- Super Administrator
- Administrator
- Sales
- Instructor
- Student

What I am required to achieve here is;

<b>1. To restrict edit permission so that an user cannot edit other users in the level above.</b>

For example;

An user in Student group cannot edit anyone else.
An user in Instructor group can create/edit users in Student group but not ones in Sales, Administrator or Super Administrator.
An user in Sales group can create/edit users in Student or Instructor but not ones in Administrator or Super Administrator
... and so on.

Would it be possible to do this by setting up roles and policies?

<b>2. Each user group to have separate set of profiles.</b>

For example an user in Instructor group to have a profile relating to his/her teaching qualification.
And an user in Student group to have an academic qualification etc.

I'm a total newbie with eZPublish so any input is a great help for me.

Thanks in advance,

Rio

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

Main resources:

Total runtime1.7384 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.0058 588.0469152.6406
Module start 'layout' 0.00590.0041 740.687539.4766
Module start 'content' 0.00991.7269 780.1641409.1172
Module end 'content' 1.73680.0015 1,189.28138.1250
Script end 1.7384  1,197.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.1865160.0002
Check MTime0.00140.0811160.0001
Mysql Total
Database connection0.00060.035510.0006
Mysqli_queries1.690897.2625460.0368
Looping result0.00040.0258440.0000
Template Total1.700797.820.8504
Template load0.00260.148220.0013
Template processing1.698297.683420.8491
Template load and register function0.00020.011310.0002
states
state_id_array0.00100.058210.0010
state_identifier_array0.00110.063020.0005
Override
Cache load0.00180.1014260.0001
Sytem overhead
Fetch class attribute can translate value0.00080.047510.0008
Fetch class attribute name0.00140.082810.0014
XML
Image XML parsing0.00010.007110.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00070.0409100.0001
String conversion0.00000.000740.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs