Policy of Role and Policy

Author Message

Ugo Giacalone

Tuesday 06 April 2010 4:07:58 am

There is a way to limit the use of Role to some user.

I explain: I need to create a user group that can assign some roles to users and User Group, but can not create or edit it.

I found only the policy "Role" that allow to use All Policies without limitation

Nicolas Pastorino

Tuesday 06 April 2010 4:46:49 am

Hi Ugo,

From what i can see, access to the 'role' module is binary : either a user can use all its functions (assign, assign with limitation, edit, remove, create new), either she can't do anything.

After a quick search in the issue tracker, i could not find any related issue. You may want to propose your idea as an enhancement, i sounds very useful to me. You can do so in the issue tracker : http://issues.ez.no/ezpublish .

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Helle Andersen

Wednesday 28 April 2010 1:43:56 am

We have a simialr problem: we want to create a "local administrator" that can create new users with limited acess (e.g. to a specific site) but NOT have access to the "overall" administrator role, nor have acces to the tabs with setup, design, webshop. How do we do that?

In user settings there are two options: user and roles: is there any documentation for the options you ge when choosing user (selfedit, password, register etc.). When choosing roles you ger no options.

We would like e.g to limit the "local administrator to e.g. the edit acoount, but not the administrator account

Any suggestions?

Helle

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 02:09:35
Script start
Timing: Jan 18 2025 02:09:35
Module start 'layout'
Timing: Jan 18 2025 02:09:35
Module start 'content'
Timing: Jan 18 2025 02:09:36
Module end 'content'
Timing: Jan 18 2025 02:09:36
Script end

Main resources:

Total runtime0.7772 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.0044 589.0313152.6250
Module start 'layout' 0.00440.0032 741.656339.4453
Module start 'content' 0.00760.7678 781.1016565.3438
Module end 'content' 0.77540.0018 1,346.445312.3203
Script end 0.7771  1,358.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4148160.0002
Check MTime0.00130.1733160.0001
Mysql Total
Database connection0.00060.070810.0006
Mysqli_queries0.730393.9746590.0124
Looping result0.00060.0757570.0000
Template Total0.745695.920.3728
Template load0.00290.377220.0015
Template processing0.742795.560520.3713
Template load and register function0.00010.016510.0001
states
state_id_array0.00160.200110.0016
state_identifier_array0.00090.115320.0004
Override
Cache load0.00230.2946180.0001
Sytem overhead
Fetch class attribute can translate value0.00120.155330.0004
Fetch class attribute name0.00100.134940.0003
XML
Image XML parsing0.00110.138730.0004
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00080.1082160.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs