Reusable blocks: Bad UX for non-privileged users #12338
Labels
[Feature] Synced Patterns
Related to synced patterns (formerly reusable blocks)
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Milestone
There are some very rough edges when using, creating and modifying reusable blocks as an author or contributor. I've summarised the issues here as it's easier to address them as one task.
Creating a reusable block as a contributor
Expected: The Add to Reusable Blocks button should be disabled.
Actual: The Add to Reusable Blocks button is enabled. Clicking it results in an error notice appearing when the API request fails.
Updating another user's reusable block as an author
Expected: The Edit button should be disabled.
Actual: The Edit button is enabled. Clicking it lets you edit the block and save changes which results in an error notice appearing when the API request fails.
Deleting another user's reusable block as an author or contributor
Expected: The Remove from Reusable Blocks button should be disabled.
Actual: The Remove from Reusable Blocks button is enabled. Clicking it results in an error notice appearing when the API request fails.
The text was updated successfully, but these errors were encountered: