Quantcast

Different states of translated content changing the view access for anonymous user

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Different states of translated content changing the view access for anonymous user

Daniel Miksik
Hello,
we are building a Plone site that should not display the content in the
"visible" state to general public (role Anonymous). Therefore we have
done the following at the plone/folder_workflow for the state "visible":
1) unchecked the "Acquire permission settings" option for the View
permission;
2) removed the View permission for the role Anonymous.

 From our perspective, everything is working fine -- with a small
exception of content translated through LinguaPlone. If a piece of
published content (i.e. a page in the "published" state) gets
translated, the translation is assigned, be default, the "visible"
state. That is fine, the trouble is that in this situation the anonymous
user cannot view the original page even though it retains the
"published" state and the user is in the proper language context
(selects the language of the original file).

Is this a bug, or is this by design? I would assume that if there is a
published page for the current language, it should be served to the user
regardless of (a) translation(s) that are currently in the "visible" or
"pending" state. Is this a false assumption? In either case, we would
much appreciate any hint that would bring the site to behave according
to it. ;)

Daniel Miksik

::::::::::::::::::::::::::::::::::::::::::::
Daniel Miksik
ICT Centre, Arts Faculty
Masaryk University in Brno, Czech Republic
[hidden email]
tel.: +420 54949 5867
::::::::::::::::::::::::::::::::::::::::::::



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Original taking on the state of its translation -- a bug?

Daniel Miksik
Sorry to bring this up again, but we need to solve this issue rather
urgently. ;)

At present, any original content is silently assigned the state of its
translation, i.e. a "published" original page behaves effectively as a
"visible" page -- the "visible" state being assigned, by default, to
every translation. Shall I consider this a bug, and file it as such at
plone.org?

Regardless of the answer, we would much appreciate any pointer to
removing the state dependence of the original content on the translated
content. Thank you.

Daniel Miksik



Daniel Miksik napsal(a) 16.3.2006 12:17 :

> Hello,
> we are building a Plone site that should not display the content in the
> "visible" state to general public (role Anonymous). Therefore we have
> done the following at the plone/folder_workflow for the state "visible":
> 1) unchecked the "Acquire permission settings" option for the View
> permission;
> 2) removed the View permission for the role Anonymous.
>
>  From our perspective, everything is working fine -- with a small
> exception of content translated through LinguaPlone. If a piece of
> published content (i.e. a page in the "published" state) gets
> translated, the translation is assigned, be default, the "visible"
> state. That is fine, the trouble is that in this situation the anonymous
> user cannot view the original page even though it retains the
> "published" state and the user is in the proper language context
> (selects the language of the original file).
>
> Is this a bug, or is this by design? I would assume that if there is a
> published page for the current language, it should be served to the user
> regardless of (a) translation(s) that are currently in the "visible" or
> "pending" state. Is this a false assumption? In either case, we would
> much appreciate any hint that would bring the site to behave according
> to it. ;)
>
> Daniel Miksik
>
> ::::::::::::::::::::::::::::::::::::::::::::
> Daniel Miksik
> ICT Centre, Arts Faculty
> Masaryk University in Brno, Czech Republic
> [hidden email]
> tel.: +420 54949 5867
> ::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Loading...