Forums / General / Question about users and roles

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?

eZ debug

Timing: Jan 18 2025 05:13:22
Script start
Timing: Jan 18 2025 05:13:22
Module start 'content'
Timing: Jan 18 2025 05:13:22
Module end 'content'
Timing: Jan 18 2025 05:13:22
Script end

Main resources:

Total runtime0.1599 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 587.7031180.8438
Module start 'content' 0.00800.0075 768.546993.8359
Module end 'content' 0.01550.1443 862.3828523.2734
Script end 0.1598  1,385.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00422.6148200.0002
Check MTime0.00130.8152200.0001
Mysql Total
Database connection0.00070.450910.0007
Mysqli_queries0.104065.05171410.0007
Looping result0.00130.78261390.0000
Template Total0.143889.910.1438
Template load0.00100.634710.0010
Template processing0.142889.279710.1428
Override
Cache load0.00070.445810.0007
Sytem overhead
Fetch class attribute can translate value0.00090.587710.0009
XML
Image XML parsing0.00020.154510.0002
General
dbfile0.00674.1754200.0003
String conversion0.00000.003630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs