Role/permission dilemma

Author Message

Aleksander Lech

Friday 03 February 2006 6:07:46 am

Hi there
I trying to achieve thing like that:

1. There is userGroup called CompanyEditors
2. There is userGroup called CompanyAdmins
3. There is userGroup called Company which contains groups mentioned above and other users.

1. CompanyEditors can create content everywhere and edit their own content (Owner=self)
2. CompanyAdmins can create content everywhere and can edit their own content and all
content made by users of Company group.
3. Other users can read all content.

Is that possible?

Greetings
Aleksander

Gabriel Ambuehl

Friday 03 February 2006 7:14:01 am

Unless there's content of the same objects that CompanyAdmins should NOT be able to edit I don't really see the problem? (Or should they NOT allowed to edit CompanyEditor's objects?)

Visit http://triligon.org

Aleksander Lech

Monday 06 February 2006 3:27:36 am

Hello Gabriel,
thanks for your response.

Sometimes I have this feeling that ez permisions model overweighted me :)

Anyway, its not working for me. Is there possibilty to set read/write (edit) permission for group of users?

I mean when I create role - Content/Read for class/any section/any owner/self for CompanyEditors its ok. Users of CompanyEditors group can't edit each others content. But CompanyAdmin group member should have such possibility, and heres my problem - how to give CompanyAdfministrator this permission.

Aleksander

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

Main resources:

Total runtime0.5801 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.8828152.6094
Module start 'layout' 0.00610.0029 740.492239.4141
Module start 'content' 0.00900.5695 779.9063499.3750
Module end 'content' 0.57850.0015 1,279.28138.1875
Script end 0.5801  1,287.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.8247160.0003
Check MTime0.00150.2500160.0001
Mysql Total
Database connection0.00090.157510.0009
Mysqli_queries0.531691.6330570.0093
Looping result0.00050.0866550.0000
Template Total0.545594.020.2728
Template load0.00210.356320.0010
Template processing0.543493.676720.2717
Template load and register function0.00020.041410.0002
states
state_id_array0.00130.216510.0013
state_identifier_array0.00150.260620.0008
Override
Cache load0.00170.2912240.0001
Sytem overhead
Fetch class attribute can translate value0.00060.109520.0003
Fetch class attribute name0.00120.199930.0004
XML
Image XML parsing0.00020.038320.0001
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00100.1662100.0001
String conversion0.00000.001340.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
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 5

Time used to render debug report: 0.0001 secs