Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support User: Add Support User libraries (fix) #2510

Merged
merged 1 commit into from
Jan 18, 2016

Conversation

jordwest
Copy link
Contributor

This PR is a retry of #2368. The original PR broke staging by causing a 'module not found' error and was subsequently reverted in #2509. This was due to the shared directory being removed in #2309.
screen shot 2016-01-18 at 9 03 39 am

The only change in this PR is moving /shared/lib/wp/support.js to /client/lib/wp/support.js; otherwise it's the same as #2368.

Lesson learned: Always rebase from master and test before merging, even if GitHub says the merge can be done cleanly.

Original PR (#2368)


This PR adds libraries that will be used in the support user functionality (ref p195om-2GO-p2)

An access token is granted when a support user and password are provided; the token can be revoked during a restore operation, or will expire after a set period of time. Once granted, the support username and token are passed along all queries to the API.

This is a subset of the original PR #1202 (props to @jmdodd), separated out for easier progressive review.

@jordwest jordwest added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Feature Group] Support All things related to WordPress.com customer support. labels Jan 18, 2016
@jordwest jordwest self-assigned this Jan 18, 2016
@dllh
Copy link
Member

dllh commented Jan 18, 2016

I tested this and it worked as expected. If the only difference between this and the other PR that we got a 🚢 for is the file move, then let's go ahead and 🚢 this one too.

@dllh dllh added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Jan 18, 2016
@jordwest jordwest force-pushed the add/support-user-libs branch 2 times, most recently from f1add50 to b04e8ff Compare January 18, 2016 23:26
@jordwest jordwest force-pushed the add/support-user-libs branch from b04e8ff to 5651e0f Compare January 18, 2016 23:28
jordwest added a commit that referenced this pull request Jan 18, 2016
Support User: Add Support User libraries (fix)
@jordwest jordwest merged commit b4e760c into master Jan 18, 2016
@jordwest jordwest deleted the add/support-user-libs branch January 18, 2016 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature Group] Support All things related to WordPress.com customer support.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants