Policy for translators

Author Message

Marc Boon

Monday 10 April 2006 8:19:55 am

I tried to setup a user policy for translators, which are allowed to translate existing objects, but not modify the original language. So far without success.
These are the policies for the Translator role:

user      login      no limitations
content  read       Section(Standard)
content  translate       Section(Standard)
content  translations  no limitations

The problem is that the user can not get into translating mode, because for the Translate button to be visible, you have to be in Edit mode first, and I don't want to allow editing of the original language content by translators, they shouldonly be allowed to translate, preferably only into a specific language.
How to do this?

Ɓukasz Serwatka

Monday 10 April 2006 10:51:12 pm

Hi,

Which version of eZ publish do you use? Improved permission system for translations is implemented in 3.8. Currently beta1 version is out. Take a look on spec:
http://ez.no/community/developer/specs/improved_multi_language_in_ez_publish_rev_2

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

Marc Boon

Wednesday 12 April 2006 4:40:30 am

I installed 3.8.0beta1, update the database by running the mysql update scripts, but I have problem running the update/common/scripts/updatetranslations.php script (from w2k commandline). It says: Siteaccess was not given or does not exist. Exiting...
How do I specify the siteaccess? Do I have to run the script for all siteaccess, including admin?

FIXED: I didn't have ezpublish in my PHP include path. Now the script works.

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

Main resources:

Total runtime0.6498 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.1563152.6250
Module start 'layout' 0.00640.0043 741.781339.4609
Module start 'content' 0.01070.6375 781.2422538.2344
Module end 'content' 0.64820.0016 1,319.476612.1719
Script end 0.6498  1,331.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.5919160.0002
Check MTime0.00180.2728160.0001
Mysql Total
Database connection0.00100.149110.0010
Mysqli_queries0.600092.3288570.0105
Looping result0.00060.0970550.0000
Template Total0.609193.720.3045
Template load0.00230.349820.0011
Template processing0.606893.376620.3034
Template load and register function0.00020.034810.0002
states
state_id_array0.00360.554810.0036
state_identifier_array0.00130.201020.0007
Override
Cache load0.00190.2939170.0001
Sytem overhead
Fetch class attribute can translate value0.00090.141020.0005
Fetch class attribute name0.00120.183940.0003
XML
Image XML parsing0.00070.106520.0003
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00080.1240180.0000
String conversion0.00000.001640.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs