Skip to content

change delete post authentication logic - #117

Merged
thebaer merged 1 commit into
developfrom
T612
Jun 5, 2019
Merged

change delete post authentication logic#117
thebaer merged 1 commit into
developfrom
T612

Conversation

@ghost

@ghost ghost commented Jun 5, 2019

Copy link
Copy Markdown

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

ghost commented Jun 5, 2019

Copy link
Copy Markdown
Author

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

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

@thebaer thebaer left a comment

Copy link
Copy Markdown
Member

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

thebaer commented Jun 5, 2019

Copy link
Copy Markdown
Member

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.

1 participant