translation page shows editable fields while in read only mode

Bug #380852 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Henning Eggers

Bug Description

Translation templates (e.g. https://translations.edge.launchpad.net/transmission/trunk/+pots/transmission/pt_BR/+translate) show all fields as editable when Launchpad is in read-only mode.

That was when Henning was logged in as a rosetta admin (i.e. had all the necessary permissions to edit the template).

When Henning was logged in as a user who didn't have permission to edit the template, the read-only error page was shown instead.

In both cases, the translation template should be displayed in the same manner they're displayed to anonymous users (without any editable field, only the content of the translation template itself).

description: updated
Revision history for this message
Данило Шеган (danilo) wrote :

It would be nice to fix this for 2.2.6, but considering other tasks we have, we might have to punt it for later.

Changed in rosetta:
importance: Undecided → Medium
milestone: none → 2.2.5
status: New → Triaged
Changed in rosetta:
milestone: 2.2.5 → 2.2.6
Revision history for this message
Данило Шеган (danilo) wrote :

According to Tom Berger:

  "All you need to do is set the read_only key, in the [launchpad] section of your development config to true. See lib/canonical/launchpad/pagetests/standalone/xx-read-only-mode.txt for an example."

Changed in rosetta:
milestone: 2.2.6 → 2.2.7
Changed in rosetta:
assignee: nobody → Henning Eggers (henninge)
status: Triaged → In Progress
Revision history for this message
Henning Eggers (henninge) wrote :

Fixed in devel 8928.

Changed in rosetta:
status: In Progress → Fix Committed
Revision history for this message
Henning Eggers (henninge) wrote :

Fixed in db-devel 8286.

Changed in rosetta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.