How to configure what tabs users can see in admin interface?

Author Message

Rainer Krauss

Tuesday 18 August 2009 12:20:04 am

Dear all,

the editor users of my site are confused. They don't have the rights to use the admin interface modules of Design, Setup, Users - but they can still see the tabs. Whenever they click on those tab, they're shown a message saying they don't have the correct permission - and then they call me and ask about that.

Is there a way to configure which tabs users are shown, depending on which rights they've been given? I mean .. one that does not involve overriding the pagelayout template based on which group a user is in (as shown in http://ez.no/developer/forum/setup_design/admin_interface_for_custom_editors )? I think I've read somewhere that it's possible to configure through an ini which tabs a user group gets shown, but can't find it now.

Thanks in advance for your reply and best wishes,
Rainer

Ivo Lukac

Tuesday 18 August 2009 12:37:42 am

You can control in menu.ini of your administration siteaccess. My advice would be to copy existing administration siteaccess to another which will be used by your editors and set menu.ini without Design, Setup, Users.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

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

Main resources:

Total runtime0.6421 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.0089 588.1719152.6563
Module start 'layout' 0.00890.0035 740.828139.5078
Module start 'content' 0.01230.6283 780.3359525.1328
Module end 'content' 0.64060.0015 1,305.46888.2500
Script end 0.6421  1,313.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.5937160.0002
Check MTime0.00130.1978160.0001
Mysql Total
Database connection0.00100.154910.0010
Mysqli_queries0.591492.1026540.0110
Looping result0.00070.1051520.0000
Template Total0.605994.420.3029
Template load0.00200.307620.0010
Template processing0.603994.043220.3019
Template load and register function0.00020.025810.0002
states
state_id_array0.00080.123010.0008
state_identifier_array0.00070.112720.0004
Override
Cache load0.00160.2510110.0001
Sytem overhead
Fetch class attribute can translate value0.00080.118820.0004
Fetch class attribute name0.00110.174930.0004
XML
Image XML parsing0.00070.102020.0003
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00080.1280170.0000
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
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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 6

Time used to render debug report: 0.0001 secs