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
SOLR-15928 Dim add collection buttons in Admin UI when no permission #1371
Conversation
# Conflicts: # solr/CHANGES.txt
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.
LGTM.. canEditCollection() maybe?
Yea, just tried to get a shorter version of |
It might be confusing as to why everything is disabled. How about changing the mouse cursor to not allowed one on hover? https://www.w3schools.com/cssref/pr_class_cursor.php |
That's exactly what this CSS does already :-) |
https://issues.apache.org/jira/browse/SOLR-15928
This is the first of several permission related edits to Admin UI. The "Add Collection" button was already disabled when user lacked
collection-admin-edit
, but it was not dimmed/greyed so hard to understand why you could not click.