Administrator user ... with a role limite

Author Message

Lo' F.

Sunday 17 April 2011 1:47:47 pm

Hi guys,

I need to set some limitations to a user administrator role, giving him the right to create objects of a specific group of classes under a specified node.

In other words, when he clicks on create new, under a specific node, he just has to see as available classes the ones belonging to a class group.

By creating a new role to be assigned to that specific user, how can I allow everything except that exception?

loredanaebook.it

Marko Žmak

Sunday 17 April 2011 2:09:15 pm

You cannot set "everything except" in the roles and policies system. You have to assign specific roles to the user for everything you want them to be able to do.

Also note, changing the roles of the admin user is not wise, it's better to create a new user (e.g. main editor) and assing the permissions to him.

If you want to allow some user(s) to create only some classes under one specific nodes, you can set that in the step 3 of content/create policy.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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:00:57
Script start
Timing: Jan 18 2025 02:00:57
Module start 'layout'
Timing: Jan 18 2025 02:00:57
Module start 'content'
Timing: Jan 18 2025 02:00:58
Module end 'content'
Timing: Jan 18 2025 02:00:58
Script end

Main resources:

Total runtime0.9811 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 587.9297152.6250
Module start 'layout' 0.00810.0030 740.554739.4531
Module start 'content' 0.01110.9684 780.0078534.3906
Module end 'content' 0.97950.0016 1,314.39848.1406
Script end 0.9811  1,322.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4275160.0003
Check MTime0.00190.1962160.0001
Mysql Total
Database connection0.00140.145810.0014
Mysqli_queries0.928694.6424540.0172
Looping result0.00060.0604520.0000
Template Total0.947396.520.4736
Template load0.00230.237120.0012
Template processing0.944996.310720.4725
Template load and register function0.00010.009910.0001
states
state_id_array0.00060.058010.0006
state_identifier_array0.00100.101920.0005
Override
Cache load0.00190.1964140.0001
Sytem overhead
Fetch class attribute can translate value0.00130.130920.0006
Fetch class attribute name0.00170.176940.0004
XML
Image XML parsing0.00090.091820.0005
class_abstraction
Instantiating content class attribute0.00000.003640.0000
General
dbfile0.00140.1409240.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.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: 6

Time used to render debug report: 0.0002 secs