wp-graphql-smart-cache icon indicating copy to clipboard operation
wp-graphql-smart-cache copied to clipboard

As an admin user I would like to be able to delete GraphQL Documents

Open jasonbahl opened this issue 4 years ago • 0 comments

When editing a GraphQL document, user needs to be able to delete an already saved document.

Acceptance Criteria

  • [ ] User with correct capabilities can delete a saved document within the IDE UI

Technical Details

Image

Notes

  • Not all documents can be deleted by all users.
  • We need to respect WordPress user capabilities.
  • The button visibility will be determined by user capability.
  • Unpublished documents cannot be deleted
  • Any validation could/should be represented in a notification/toast

jasonbahl avatar Jan 11 '22 21:01 jasonbahl