Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

only check delete NPR API permissions on posts that will be pushed to… #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tamw-wnet
Copy link

Addresses issue #72 by moving the check for permissions later in nprstory_api_delete() function. Previously any attempt to trash any sort of post by a non-admin/non-editor would generate an error message, including when there's no NPR push functionality.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant