unable to change authorization level for application interaction with LP

Bug #353159 reported by Rick McBride
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

https://edge.launchpad.net/~rmcbride/+oauth-tokens

When using apport-collect, I inadvertantly selected permissions other than "change everything" when granting access to LP. Unfortunately apport-collect won't work without the proper permissions.

Sadly, the only option I had to change this was "revoke permissions" which now causes a traceback when the application tries to log into launchpad.

Traceback (most recent call last):
  File "/usr/bin/apport-collect", line 131, in <module>
    lp = login()
  File "/usr/bin/apport-collect", line 48, in login
    launchpad = Launchpad(credentials, launchpad_instance, cache_dir)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/launchpad.py", line 60, in __init__
    self._wadl = self._browser.get_wadl_application(self._root_uri)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/_browser.py", line 230, in get_wadl_application
    url, media_type='application/vd.sun.wadl+xml')
  File "/usr/lib/python2.6/dist-packages/launchpadlib/_browser.py", line 212, in _request
    raise HTTPError(response, content)
launchpadlib.errors.HTTPError: HTTP Error 401: Unauthorized

The user should REALLY be able to alter the permissions level after setting it. I can't seem to find an option to re-enable the application's access, and as such I cannot use apport-collect to enhance bug reporting for my project.

Ursula Junque (ursinha)
affects: launchpad → launchpad-foundations
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
tags: added: feature oauth
michael (wmcs1ck)
Changed in launchpad:
status: Triaged → Incomplete
William Grant (wgrant)
Changed in launchpad:
status: Incomplete → Triaged
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.