Merge ~cjwatson/launchpad:access-token-rename-context-to-target into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 327282bbb1d3367bbe15b05eefe6d0675507b853 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:access-token-rename-context-to-target |
Merge into: | launchpad:master |
Diff against target: |
262 lines (+46/-47) 7 files modified
lib/lp/security.py (+4/-4) lib/lp/services/auth/interfaces.py (+5/-5) lib/lp/services/auth/model.py (+11/-11) lib/lp/services/auth/tests/test_model.py (+17/-18) lib/lp/services/webapp/tests/test_servers.py (+4/-4) lib/lp/services/webservice/configuration.py (+1/-1) lib/lp/testing/factory.py (+4/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cristian Gonzalez (community) | Approve | ||
Review via email: mp+410144@code.launchpad.net |
Commit message
Rename AccessToken.context to AccessToken.target
Description of the change
Exporting a "context" attribute over the webservice turns out to be awkward, because it clashes with internals of lazr.restful. Let's just rename this now while it isn't too inconvenient to do so.
To post a comment you must log in.
Looks good!