Question about users and roles

Author Message

Mark Overduin

Thursday 10 July 2003 2:08:41 am

I have a usergroup: Editors
I have two users: User1, User2
I have a role: Editors

---
What I want is this:

User1 has only access to /sports/soccer/
User1 can only read/create/edit everything in 'soccer'
User2 has only access to /sports/basketball/
User2 can only read/create/edit everything in 'basketball'

I want to place both users in the role 'Editors', inherit its permissions and give the users additional rights individually.

Is this possible?
---

Example: If I have... let's say... 25 users, do I need to create 25 roles, or can I place 20 of them under the role 'Editors' and 5 under the role 'Administrators' (and of course give each user additional rights)?

Tnx

Bård Farstad

Thursday 10 July 2003 2:16:52 am

You only need to create one role pr "access rule". E.g. if you want people (one or more) to access one function you need a role. This role can then be assigned to one or more users and/or user groups.

To simplify management you should make users in user groups and assign roles to these groups.

E.g.

Role A: read access to documents (class x).
Is assigned to Group A.

Group A: a user group which contains n number of users. All users who are created under this group will get access to class X as defined by Role A.

In your case you can set this up using sections or subtree permissions. And yes, it's possible.

Hope this answered your question,

--bård

Documentation: http://ez.no/doc

Mark Overduin

Thursday 10 July 2003 3:32:18 am

Ok... thanx.

Something else: I want to give a user the rights to view only '/sports/soccer/'. Works fine; The user can login and see the root (with only one folder: sports). The user can click 'sports' and will only see the folder 'soccer', etc...

Is it possible that the user cannot see the folder 'sports', only 'soccer' ?

Situation: The user logs in and get to 'Root'. There is only one folder, named 'soccer'. Is that possible?

Mark Overduin

Monday 14 July 2003 12:18:02 am

^^^

Is this possible?

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

Main resources:

Total runtime0.5757 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 590.2109152.6250
Module start 'layout' 0.00780.0035 742.835939.4453
Module start 'content' 0.01120.5631 782.2813546.3594
Module end 'content' 0.57430.0014 1,328.640612.1641
Script end 0.5757  1,340.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5725160.0002
Check MTime0.00120.2171160.0001
Mysql Total
Database connection0.00100.170710.0010
Mysqli_queries0.523290.8731600.0087
Looping result0.00060.1082580.0000
Template Total0.542794.320.2713
Template load0.00160.278120.0008
Template processing0.541093.972720.2705
Template load and register function0.00030.059210.0003
states
state_id_array0.00130.230010.0013
state_identifier_array0.00100.176120.0005
Override
Cache load0.00130.2307360.0000
Sytem overhead
Fetch class attribute can translate value0.00050.083120.0002
Fetch class attribute name0.00090.163150.0002
XML
Image XML parsing0.00070.123520.0004
class_abstraction
Instantiating content class attribute0.00000.001950.0000
General
dbfile0.00090.1567170.0001
String conversion0.00000.001240.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs