How to restrict media section access?

Author Message

Stefano Bartoli

Sunday 01 March 2009 5:00:43 am

I've defined policies and roles to grant a "group" only to have access (in admin interface) to a specific node and it's all ok.

Now i have a problem not solved yet.
When any user of this group edit an object and add an existing related object he's redirected to "Media" section (or anywhere else, i know i can set it), but i need he can only access to a certain folder under "Media" (but i must ensure the navigability of all media section).
I've not found any solution yet.

Note that:
I can't restrict access to a specific part of the structure because in this way he can't browse through out it.
i can't use "redirect after login" functionality, because i have different group using the same role (with tree limitation).

I hope it's clear enough.
Thank you

Stefano

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 19:34:48
Script start
Timing: Jan 18 2025 19:34:48
Module start 'layout'
Timing: Jan 18 2025 19:34:48
Module start 'content'
Timing: Jan 18 2025 19:34:48
Module end 'content'
Timing: Jan 18 2025 19:34:48
Script end

Main resources:

Total runtime0.0179 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.0313152.6406
Module start 'layout' 0.00660.0035 740.671939.4766
Module start 'content' 0.01010.0055 780.148485.2266
Module end 'content' 0.01560.0023 865.375030.3047
Script end 0.0179  895.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002815.4373140.0002
Check MTime0.00137.5441140.0001
Mysql Total
Database connection0.00095.259010.0009
Mysqli_queries0.003017.006930.0010
Looping result0.00000.139910.0000
Template Total0.001910.610.0019
Template load0.00105.514810.0010
Template processing0.00095.012510.0009
Override
Cache load0.00063.572210.0006
General
dbfile0.00031.653580.0000
String conversion0.00000.061340.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