What policy gives permissions to change Sorting options for a list of sub items?

Author Message

Matt Berger

Wednesday 05 January 2011 10:21:06 am

When viewing a list of Sub Items in eZ Publish the "Sorting" options at the bottom-right of the list is disabled for some of our user roles. What policy do I need to give to the user role in order to edit these sorting options?

scrieler _

Thursday 06 January 2011 2:46:35 am

hey, it should be user -> preferences

Christian Rößler

Thursday 06 January 2011 3:19:50 am

according to the corresponding template used in admin2 it is content-edit (has_access(edit) -> sorting-buttons enabled )

i think in ez 4.4+ there are 2 possible actions.
first is to edit sorting of subitems for yourself (user-preferences).
second is to edit sorting in the content-tree (content-edit).

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

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

Main resources:

Total runtime1.6475 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0098 589.5391152.6875
Module start 'layout' 0.00980.0030 742.226639.5625
Module start 'content' 0.01291.6334 781.7891528.1094
Module end 'content' 1.64630.0012 1,309.89848.0625
Script end 1.6475  1,317.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.2584160.0003
Check MTime0.00130.0795160.0001
Mysql Total
Database connection0.00180.106810.0018
Mysqli_queries1.599997.1094590.0271
Looping result0.00120.0758570.0000
Template Total1.600697.120.8003
Template load0.00220.132020.0011
Template processing1.598497.017220.7992
Template load and register function0.00010.007810.0001
states
state_id_array0.00260.160310.0026
state_identifier_array0.00220.132620.0011
Override
Cache load0.00180.1082110.0002
Sytem overhead
Fetch class attribute can translate value0.00070.043830.0002
Fetch class attribute name0.00100.062330.0003
XML
Image XML parsing0.00040.021430.0001
class_abstraction
Instantiating content class attribute0.00000.000430.0000
General
dbfile0.00060.0393100.0001
String conversion0.00000.000640.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs