Access to trashcan - urgent

Author Message

K259

Friday 11 February 2005 1:42:06 am

How do I give access to the trashcan for a specific role?

I only see something called cleantrash.

K259

Friday 11 February 2005 3:10:19 am

How do I assign rights for a user to access the trashcan and restore?

Łukasz Serwatka

Friday 11 February 2005 3:19:20 am

For example

Module: content
Function: restore
Limitations: *

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

K259

Friday 11 February 2005 3:24:21 am

Thanx, I tried that, but the user still cannot access the trashcan. She only get access denied.

Łukasz Serwatka

Friday 11 February 2005 3:26:33 am

What are your content-read settings? Try with "All"

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

K259

Friday 11 February 2005 3:29:56 am

The role for this user has:

content read *
content restore *

But still not working.

 

Łukasz Serwatka

Friday 11 February 2005 3:48:17 am

Mix with

content: remove
content: versionread

Clear the cache

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

K259

Friday 11 February 2005 5:41:21 am

Gonna test it tonight.

K259

Saturday 12 February 2005 3:43:37 am

This was a caching problem. Therefore 3 groups which I granted restore * and some remove access have not been able to access the trashcan or delete different content.

I did some other changes in the templates, recompiled, and ran clearcache.sh --clear-tpl, and emptied the cache in the turck mmcache. Then the users got the correct rights from their roles.

But, I have to empty the cache everytime I change/give access/remove access on roles..hmm

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

Main resources:

Total runtime0.7184 sec
Peak memory usage4,096.0000 KB
Database Queries75

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 590.2813152.6250
Module start 'layout' 0.00510.0024 742.906339.4453
Module start 'content' 0.00750.7096 782.3516598.6953
Module end 'content' 0.71710.0013 1,381.046916.1641
Script end 0.7184  1,397.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4401160.0002
Check MTime0.00130.1757160.0001
Mysql Total
Database connection0.00080.105910.0008
Mysqli_queries0.662092.1495750.0088
Looping result0.00060.0889730.0000
Template Total0.693496.520.3467
Template load0.00190.260020.0009
Template processing0.691596.252620.3458
Template load and register function0.00030.037410.0003
states
state_id_array0.00060.090110.0006
state_identifier_array0.00110.149820.0005
Override
Cache load0.00160.2296360.0000
Sytem overhead
Fetch class attribute can translate value0.00050.072820.0003
Fetch class attribute name0.00080.1170100.0001
XML
Image XML parsing0.00090.121320.0004
class_abstraction
Instantiating content class attribute0.00000.0026120.0000
General
dbfile0.00090.1192180.0000
String conversion0.00000.001140.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
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs