wp-graphql-smart-cache
wp-graphql-smart-cache copied to clipboard
As an admin user I would like to be able to delete GraphQL Documents
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
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