Role with limits, problem with Media

Author Message

Marcin N.

Monday 18 December 2006 2:00:20 am

Hi!

I try to set some special roles and policies for my folders
_welcome [folder] [read, edit]
____about [folder] [read, edit]
____news [folder] [read, edit, create Articles, remove]
______news2.1 [article]
______news2.2 [article]
____contact [folder] [read, edit]

Media [folder] [read, edit, create, remove] - possibility to upload and add images in content.

I created Roles:
<b>Module Function Limitations</b>
user login No limitations
content edit Subtree( welcome )
content read Subtree( welcome )
content create Subtree( news ) , Class( Article )
content remove Subtree( news ) , Class( Article )
layout all functions No limitations
ezdhtml all functions No limitations
ezinfo all functions No limitations
content read Subtree( Media )
content edit Subtree( Media )
content create Subtree( Media )
content remove Subtree( Media )

Roles works for folders BUT I can't add image from Media folder. I click "Insert Object" in article or folder editor. I see pop-up. Then I click "Add existing" button. Works OK, I see my tree structure. Then I click "Back" (button with up arrow) to go to the root where is Media folder and I get: "The requested page could not be displayed (1)" and some script error from url: "/layout/set/dialog/content/browse/1"

My question is: how to set roles and policies to make it possible???

My next question is: is it possible (in my example) to make active only "Content Structure" and "Media Library" tab??? The other one user can't click.

Thanks for help!

Marcin

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

Main resources:

Total runtime0.0188 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.0073 589.1484152.6406
Module start 'layout' 0.00730.0034 741.789139.4609
Module start 'content' 0.01070.0056 781.250089.2109
Module end 'content' 0.01640.0024 870.460930.3047
Script end 0.0188  900.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003317.6803140.0002
Check MTime0.00147.3897140.0001
Mysql Total
Database connection0.00105.368310.0010
Mysqli_queries0.003820.151630.0013
Looping result0.00000.095010.0000
Template Total0.00179.210.0017
Template load0.00094.847510.0009
Template processing0.00084.327910.0008
Override
Cache load0.00063.454710.0006
General
dbfile0.00031.615880.0000
String conversion0.00000.064640.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