Comment 1 for bug 511567

Revision history for this message
Curtis Hovey (sinzui) wrote : Re: Can't remove authorised app

I get
    Unauthorized: (<OAuthAccessToken at 0xde96b90>, 'date_expires', 'launchpad.Edit')

I can see that the permissions are
    <require
          permission="launchpad.Edit"
          set_schema="canonical.launchpad.interfaces.IOAuthAccessToken"/>

I can see the definition of EditOAuthAccessToken to be
    return self.obj.person == user or user.in_admin

Maybe the interface inherritance is bad: IOAuthToken < IOAuthAccessToken?