Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show lock on deploy if user is read-only #4706

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

knolleary
Copy link
Member

To improve feedback when in the editor as a read-only user, with this PR, the deploy button now shows a lock icon and never becomes enabled. This is a clear indication that changes cannot be deployed.

image

If a user logs in, the lock icon is removed and the button restored to its expected state (depending if they had made changes or not).

@knolleary knolleary linked an issue May 17, 2024 that may be closed by this pull request
@knolleary knolleary merged commit 3fd2d07 into dev May 21, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve feedback for a read-only user
1 participant