Drivers cannot add new series in IDerivativeDistributions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Julian Edwards |
Bug Description
The permissions are mistakenly set to launchpad.Append and they should be launchpad.Moderate.
Curtis proposes this patch:
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -1964,7 +1964,7 @@
- permission=
+ permission=
</
<browser:page
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -465,7 +465,7 @@
usedfor = IDerivativeDist
- @enabled_
+ @enabled_
def addseries(self):
text = 'Add series'
return Link('+addseries', text, icon='add')
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -264,7 +264,7 @@
>>> login_person(
>>> view = create_
- >>> check_permissio
+ >>> check_permissio
True
>>> yo_form = dict(form)
Related branches
- Julian Edwards (community): Approve
-
Diff: 38 lines (+3/-3)3 files modifiedlib/lp/registry/browser/configure.zcml (+1/-1)
lib/lp/registry/browser/distribution.py (+1/-1)
lib/lp/registry/browser/tests/distroseries-views.txt (+1/-1)
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Julian Edwards (julian-edwards) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r12762 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12762>.