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

Nomad UI doesn't detect namespace-specific capabilities #10885

Closed
lgfa29 opened this issue Jul 9, 2021 · 1 comment · Fixed by #10893
Closed

Nomad UI doesn't detect namespace-specific capabilities #10885

lgfa29 opened this issue Jul 9, 2021 · 1 comment · Fixed by #10893
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/namespaces theme/ui type/bug

Comments

@lgfa29
Copy link
Contributor

lgfa29 commented Jul 9, 2021

Nomad version

Nomad v1.1.2 (60638a086ef9630e2a9ba1e237e8426192a44244)

Operating system and Environment details

MacOS

Issue

The Nomad UI doesn't detect namespace-specific policy capabilities.

Reproduction steps

  1. Start a Nomad agent with ACL enabled
    $ nomad agent -dev -acl-enabled
    $ nomad acl bootstrap
    
  2. Create a namespace-specific policy, token and the namespace itself
    namespace "dev" {
      policy = "write"
    }
    $ nomad acl policy apply dev policy.hcl
    $ nomad acl token create -policy=dev
    $ nomad namespace apply dev
    
  3. Open the Nomad UI and set the token created in the previous step
  4. Try to run a job from the UI

Expected Result

The Run Job button is enabled

Actual Result

The Run Job button is disabled

@lgfa29 lgfa29 added type/bug stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/ui labels Jul 9, 2021
ChaiWithJai added a commit that referenced this issue Jul 22, 2021
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/namespaces theme/ui type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant