"Change details" for POTemplate should allow maintainers some more freedom

Bug #340662 reported by Данило Шеган
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Adi Roiban

Bug Description

At the moment, "change details" link on POTemplates has very limited options.

We should move at least translation domain, path and "accept translations" from "Admin" to "Change details" form.

Related branches

Changed in rosetta:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Adi Roiban (adiroiban) wrote :

Since domain name is somehow linked to template name, I have also added „template name” in the Edit view.

Since „accept translations” can be modified, the launchpad.Edit should be allowed for disabled templates.

Changed in rosetta:
status: Triaged → In Progress
assignee: nobody → Adi Roiban (adiroiban)
Adi Roiban (adiroiban)
Changed in rosetta:
status: In Progress → Fix Committed
Revision history for this message
Ursula Junque (ursinha) wrote : A commit mentioned this bug
tags: added: qa-needstesting
Adi Roiban (adiroiban)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Adi Roiban (adiroiban) wrote :

It looks like some things are broken and discussed in bug 507498

tags: added: qa-needstesting
removed: qa-ok
tags: added: qa-bad
removed: qa-needstesting
Revision history for this message
Данило Шеган (danilo) wrote :

We should definitely not allow template name to be changed, at least not yet. Changing template name is not for everyone!

Revision history for this message
Adi Roiban (adiroiban) wrote :

I apologies for all the inconveniences created by this branch. I have created the MP, thinking that such stupid mistakes will be raised during the reviewer.

I have reevaluated the usage of IPOTemplateSet and IPOTemplateSubset and I realized my foolish error.

Since we allow Launchpad.Edit to disable templates, I assume we should also allow them to enable them back.
This is why I had to change the traversal for POTemplateSubset.

If the permission were no change, once a person disabled the template he/she will not be able to enable it back.

I have created a new branch, removing „name” from Edit page, but fixing and keeping Launchapd.Edit for IPOTemplateSubset.

Please let me know if a person should be able to enable a template, once he/she had disable it, and I will do the required changes.

Adi Roiban (adiroiban)
tags: added: qa-needstesting
removed: qa-bad
Revision history for this message
Brad Crittenden (bac) wrote :

Take 2 committed in r 10207

Curtis Hovey (sinzui)
Changed in rosetta:
milestone: none → 10.01
Adi Roiban (adiroiban)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
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.