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

change delete post authentication logic #117

Merged
merged 1 commit into from Jun 5, 2019
Merged

change delete post authentication logic #117

merged 1 commit into from Jun 5, 2019

Conversation

ghost
Copy link

@ghost ghost commented Jun 5, 2019

this reorders the logic for checking authentication on post deletes to
first check for a provided edit token and after check for an access
token or auth'd user.


  • I have signed the CLA

this reorders the logic for checking authentication on post deletes to
first check for a provided edit token and after check for an access
token or auth'd user.
@ghost ghost requested a review from thebaer June 5, 2019 16:58
@ghost
Copy link
Author

ghost commented Jun 5, 2019

after writeas/go-writeas#17 I can test this on my dev instance

this will need to be tested on development.write.as

Copy link
Member

@thebaer thebaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in T612, if this works as expected when you test, I think this is a good solution 👍

@thebaer thebaer marked this pull request as ready for review June 5, 2019 19:51
@thebaer thebaer added this to the 0.10 milestone Jun 5, 2019
@thebaer
Copy link
Member

thebaer commented Jun 5, 2019

Since testing went well, this is good to go! Thanks @robjloranger!

@thebaer thebaer merged commit b2a9429 into develop Jun 5, 2019
@thebaer thebaer deleted the T612 branch June 5, 2019 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant