Can't revoke my own oauth token

Bug #512939 reported by Diogo Matsubara
This bug report is a duplicate of:  Bug #511567: Can't remove authorised oauth tokens. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

I just tried to revoke one of my own oauth tokens and got a permission denied error

Traceback (most recent call last):

    * Module zope.publisher.publish, line 134, in publish
    * Module canonical.launchpad.webapp.publication, line 397, in callObject
      return mapply(ob, request.getPositionalArguments(), request)
    * Module zope.publisher.publish, line 109, in mapply
      __traceback_info__: <security proxied zope.browserpage.metaconfigure.SimpleViewClass from /srv/edge.launchpad.net/edge/launchpad-rev-10224/lib/lp/registry/browser/../templates/person-oauth-tokens.pt instance at 0xf955590>
    * Module zope.publisher.publish, line 115, in debug_call
    * Module canonical.launchpad.webapp.publisher, line 278, in __call__
      self.initialize()
    * Module lp.registry.browser.person, line 5400, in initialize
      self.expireToken()
    * Module lp.registry.browser.person, line 5429, in expireToken
      token.date_expires = datetime.now(pytz.timezone('UTC'))

Unauthorized: (<OAuthAccessToken at 0x10630250>, 'date_expires', 'launchpad.Edit')<br />

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.