restrict access to the download view of the content module

Author Message

Georg Schröder

Tuesday 01 July 2008 1:24:10 pm

Hello everybody,

is it possible to restrict access to the download view of the content module, and if yes, how?
Who can help?

Thank you!

Georg

Stéphane Bullier

Wednesday 02 July 2008 5:20:13 am

Hello,

Directly, I don't think it is possible to restrict access to download view but you can create policy with class limitation of the object you want to limit access.

Look here http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/access_control for more details.

Stéphane

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

Main resources:

Total runtime0.8181 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.1719152.6563
Module start 'layout' 0.00570.0029 740.828139.5078
Module start 'content' 0.00860.8081 780.3359519.1172
Module end 'content' 0.81660.0014 1,299.45318.2500
Script end 0.8181  1,307.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3695160.0002
Check MTime0.00120.1514160.0001
Mysql Total
Database connection0.00070.082610.0007
Mysqli_queries0.777495.0276540.0144
Looping result0.00110.1300520.0000
Template Total0.792396.820.3961
Template load0.00210.261620.0011
Template processing0.790196.575220.3951
Template load and register function0.00020.018710.0002
states
state_id_array0.00070.082410.0007
state_identifier_array0.00090.108320.0004
Override
Cache load0.00170.2111130.0001
Sytem overhead
Fetch class attribute can translate value0.00040.045120.0002
Fetch class attribute name0.00090.105730.0003
XML
Image XML parsing0.00050.056220.0002
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00140.1730160.0001
String conversion0.00000.002640.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs