Anonymous API requests are not shown any bug activity
Bug #991079 reported by
Gema Gomez
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
William Grant |
Bug Description
I am trying to automate following up bugs activity, and when trying to retrieve activity for a bug, the api seems to return an empty set:
https:/
For example here, this is the output:
{"total_size": 16, "start": 0, "entries": [], "resource_
I was expecting to see the 16 entries on the entry set. Is there a different place to retrieve the activity from and I am reading this wrongly?
Analysis
========
The API strips out inaccessible entries from collections, which is why the entries are empty in this case - they are all considered inaccessible to anonymous requests.
Related branches
lp:~wgrant/launchpad/ssh-bugactivity-anon
- Colin Watson (community): Approve
-
Diff: 97 lines (+24/-3)4 files modifiedlib/lp/bugs/security.py (+14/-0)
lib/lp/bugs/stories/webservice/xx-bug.txt (+3/-1)
lib/lp/registry/stories/webservice/xx-person.txt (+2/-2)
lib/lp/security.py (+5/-0)
summary: |
- Launchpad API doesn't return bug activity + Anonymous API requests are not shown any bug activity |
Changed in launchpad: | |
status: | Confirmed → Triaged |
importance: | Undecided → Low |
description: | updated |
tags: | added: api bughistory bugs |
tags: | added: trivial |
Changed in launchpad: | |
assignee: | nobody → Bayard 'kit' Randel (blr) |
Changed in launchpad: | |
assignee: | Kit Randel (blr) → nobody |
Changed in launchpad: | |
assignee: | nobody → William Grant (wgrant) |
status: | Triaged → 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.
Status changed to 'Confirmed' because the bug affects multiple users.