indieweb / wordpress-micropub

A Micropub Endpoint plugin for WordPress
https://wordpress.org/plugins/micropub
51 stars 12 forks source link

undelete scope insufficient #184

Closed grantcodes closed 5 years ago

grantcodes commented 5 years ago

Heyo!

Just testing out a micropub client with a test WordPress site and when trying to undelete posts I am getting an insufficient scope message even though I have the create, delete & update scopes.

I don't think there is anything that explicitly says which scope should be required for undelete requests, but I thought create should be enough.

dshanske commented 5 years ago

Do the other scopes work for you? Just to narrow it down? We do accept delete or undelete as the scope.

grantcodes commented 5 years ago

Hmm well I was able to create the post and delete it, but not undelete. But I've not tested without the scopes

dshanske commented 5 years ago

I have not tested undelete in ages. May be time to do some additional testing. We have a unit test for it, but I can't remember the last time I did a user test

dshanske commented 5 years ago

I think this should be delete. There is no undelete scope

dshanske commented 5 years ago

Resolved via #204