-
Notifications
You must be signed in to change notification settings - Fork 2k
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
When using token with role with proper permissions, UI buttons are disabled #16361
Comments
Hi @Kamilcuk 👋 Thanks for the report. Yes I think the UI may be missing logic to handle ACL token roles. I have placed this issue in our backlog for further roadmapping. |
Hi! Also, node Meta and Attributes do not show up. |
Yes, I suspect anything that requires specific capabilities is not going to work. |
Related: #14450 |
#17312 reported the same problem in the Variables page as well. |
Nomad version
Nomad v1.5.0
BuildDate 2023-03-01T10:11:42Z
Revision fc40c49
Operating system and Environment details
Archlinux newest
Issue
When using token with role the UI buttons for running a job, draining node and eligible switch are greyed out, even when the token has correct permissions from the role. This also causes the setup of Vault SSO login from https://developer.hashicorp.com/nomad/tutorials/single-sign-on/sso-oidc-vault#create-a-vault-oidc-provider to have disabled buttons (it is an amazing tutorial).
Reproduction steps
Copy the token from acl token create and login to UI. You will notice that the buttons are greyed out.
Expected Result
The token has permissions to drain a node, so the UI button shouldn't be greyed out.
Actual Result
The buttons are greyed out.
And: thanks for Nomad, except for that issue, Nomad SSO Vault OIDC is working quite fine and the integration works. If I copy the token from OIDC from UI to command line and use it, it works properly.
The text was updated successfully, but these errors were encountered: