Cannot get the artifacts shared with a person over the API
Bug #1046022 reported by
Curtis Hovey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Ian Booth |
Bug Description
The sharing details view lists all the bugs and branches that are shared with a user or team. It is not possible to get this list over the API to write auditing scripts.
SharingService.
Related branches
lp://qastaging/~wallyworld/launchpad/export-getSharedArtifacts-1046022
- Steve Kowalik (community): Approve (code)
-
Diff: 181 lines (+68/-6)7 files modifiedlib/lp/bugs/model/bug.py (+2/-1)
lib/lp/code/browser/branchsubscription.py (+1/-1)
lib/lp/code/model/branch.py (+1/-1)
lib/lp/registry/browser/tests/test_pillar_sharing.py (+1/-1)
lib/lp/registry/interfaces/sharingservice.py (+14/-0)
lib/lp/registry/services/sharingservice.py (+9/-1)
lib/lp/registry/services/tests/test_sharingservice.py (+40/-1)
lp://qastaging/~wallyworld/launchpad/reexport-getSharedArtifacts-1046022
- Ian Booth (community): Approve
-
Diff: 35 lines (+17/-0)2 files modifiedlib/lp/registry/interfaces/sharingservice.py (+6/-0)
lib/lp/registry/services/tests/test_sharingservice.py (+11/-0)
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Ian Booth (wallyworld) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
status: | Fix Released → In Progress |
Changed in launchpad: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Fixed in stable r15912 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 15912>.