I have tab of module with no authorization...

Author Message

Herriberry Pierre

Tuesday 21 March 2006 1:13:16 am

hi,

I have defined policy, and for example my author is not allowed to use "setup" section
But when i log with his account he can see tab "setup", fortunately when I clic there is an error message.

There is an easy way to avoid that he can see "setup" tab because he has no access on it

Thx :)

Ɓukasz Serwatka

Thursday 23 March 2006 12:48:06 am

Tabs in top menu in admin interface are not related to permission system. The only way to make it hidden depends on user role/policy is to change admin templates.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 19 2025 02:49:30
Script start
Timing: Jan 19 2025 02:49:30
Module start 'layout'
Timing: Jan 19 2025 02:49:30
Module start 'content'
Timing: Jan 19 2025 02:49:30
Module end 'content'
Timing: Jan 19 2025 02:49:30
Script end

Main resources:

Total runtime0.0148 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.2891152.6406
Module start 'layout' 0.00520.0026 741.929739.4766
Module start 'content' 0.00780.0047 781.406389.3672
Module end 'content' 0.01250.0023 870.773430.3047
Script end 0.0148  901.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002717.9538140.0002
Check MTime0.00128.2340140.0001
Mysql Total
Database connection0.00063.931310.0006
Mysqli_queries0.002617.850930.0009
Looping result0.00000.086810.0000
Template Total0.001912.910.0019
Template load0.00117.303110.0011
Template processing0.00085.590710.0008
Override
Cache load0.00074.870310.0007
General
dbfile0.00021.460080.0000
String conversion0.00000.040240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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