Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(desk-tool): check for 'discardDraft' permission instead of 'delet…
…e' in the DiscardDraft document action Currently the DiscardDraft document action is checking for 'delete' permission, which requires 'update' permissions on both the draft and the published document and ends up inadvertently disabling the "Discard draft"-button for users that indeed have access to update the draft.
- Loading branch information
a6423ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
studio-workshop – ./dev/workshop
studio-workshop.sanity.build
studio-workshop-git-next.sanity.build
a6423ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
test-studio – ./
test-studio-git-next.sanity.build
test-studio.sanity.build
a6423ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
perf-studio – ./
perf-studio.sanity.build
perf-studio-git-next.sanity.build