Specifications privacy: subscribers can't see private blueprints
Bug #1056881 reported by
Данило Шеган
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Abel Deuring |
Bug Description
I am testing out private blueprints, and I noticed that subscribers to the private blueprints can't see them unless they are explicitely granted permissions through the "Sharing" page to proprietary data.
This is confusing since I believe bugs work in a different manner.
To reproduce:
1. create a project with other/proprietary license
2. go to "Sharing" and make sure specifications are marked as "proprietary"
3. configure blueprints to live in Launchpad
4. create a new blueprint
5. subscribe someone else to the blueprint
6. ask them to see if they can load the blueprint
Related branches
lp:~adeuring/launchpad/bug-1056881
- Aaron Bentley (community): Approve
-
Diff: 395 lines (+228/-13)6 files modifiedlib/lp/blueprints/model/specification.py (+29/-0)
lib/lp/blueprints/model/specificationsubscription.py (+30/-3)
lib/lp/blueprints/model/tests/test_specification.py (+51/-3)
lib/lp/blueprints/model/tests/test_subscription.py (+61/-6)
lib/lp/blueprints/tests/test_specification.py (+56/-0)
lib/lp/blueprints/tests/test_webservice.py (+1/-1)
lp:~adeuring/launchpad/bug-1056881-2
- Richard Harding (community): Approve
-
Diff: 166 lines (+47/-21)4 files modifiedlib/lp/blueprints/browser/tests/test_specification.py (+7/-9)
lib/lp/registry/configure.zcml (+25/-0)
lib/lp/registry/interfaces/product.py (+11/-9)
lib/lp/registry/tests/test_product.py (+4/-3)
description: | updated |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: privacy private-blueprints private-projects |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Abel Deuring (adeuring) |
Changed in launchpad: | |
status: | Fix Committed → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | In Progress → Fix Released |
Changed in launchpad: | |
status: | Fix Released → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r16303 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 16303>.