content read access policy tied to language

Author Message

Jens Tiedemann

Friday 11 January 2008 4:54:37 am

Hi there

We want to seperate country specific information (price lists etc.) based on language. I can create a policy that gives "create" rights on content based on language - but have not found out how to create a policy, that limits "read" access to content based on language/translation. So if you are say a German partner/user logging on - I want to restrict that user to only be able to see german language versions of certain pages (in certain segments)...

Anybody knows how to restrict read access based on language in a role policy?

Best regards
Jens

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

Main resources:

Total runtime1.4682 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 589.2891152.6406
Module start 'layout' 0.00790.0046 741.929739.4766
Module start 'content' 0.01251.4543 781.4063400.2031
Module end 'content' 1.46690.0013 1,181.60948.1250
Script end 1.4681  1,189.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2441160.0002
Check MTime0.00140.0947160.0001
Mysql Total
Database connection0.00100.069710.0010
Mysqli_queries1.414496.3368460.0307
Looping result0.00060.0419440.0000
Template Total1.398895.320.6994
Template load0.00210.140520.0010
Template processing1.396795.131220.6983
Template load and register function0.00020.015110.0002
states
state_id_array0.01621.106610.0162
state_identifier_array0.00280.187620.0014
Override
Cache load0.00170.112680.0002
Sytem overhead
Fetch class attribute can translate value0.00070.050110.0007
Fetch class attribute name0.00070.045210.0007
XML
Image XML parsing0.00010.007710.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00770.5229100.0008
String conversion0.00000.000840.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs