Forums / General / Access to trashcan - urgent

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

eZ debug

Timing: Jan 19 2025 01:09:17
Script start
Timing: Jan 19 2025 01:09:17
Module start 'content'
Timing: Jan 19 2025 01:09:18
Module end 'content'
Timing: Jan 19 2025 01:09:18
Script end

Main resources:

Total runtime1.4475 sec
Peak memory usage4,096.0000 KB
Database Queries212

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 590.3750180.8438
Module start 'content' 0.00661.2843 771.2188603.7734
Module end 'content' 1.29090.1565 1,374.9922341.0703
Script end 1.4474  1,716.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2777210.0002
Check MTime0.00150.1002210.0001
Mysql Total
Database connection0.00060.044210.0006
Mysqli_queries1.354793.58752120.0064
Looping result0.00250.17072100.0000
Template Total1.416997.920.7084
Template load0.00230.157820.0011
Template processing1.414697.724120.7073
Template load and register function0.00020.014410.0002
states
state_id_array0.00190.128410.0019
state_identifier_array0.00110.077120.0006
Override
Cache load0.00190.1341360.0001
Sytem overhead
Fetch class attribute can translate value0.00140.096130.0005
Fetch class attribute name0.00130.0868100.0001
XML
Image XML parsing0.00100.066030.0003
class_abstraction
Instantiating content class attribute0.00000.0017120.0000
General
dbfile0.00740.5098290.0003
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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