hashicorp / nomad

Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
https://www.nomadproject.io/
Other
14.81k stars 1.94k forks source link

[UI] Sentinel Menu not found but link working #23176

Open Great-Stone opened 3 months ago

Great-Stone commented 3 months ago

Nomad version

Nomad v1.8.0+ent BuildDate 2024-05-28T18:08:23Z Revision 5a7a5d80944f1568c8bcd4e71a7f923fc04f2461

Operating system and Environment details

MacOS

Issue

Initially, when I access the UI and log in with my token, the link to Sentinel does not appear in the UI even though I am an Administrator.

image

However, link does work. It will be displayed in the UI afterwards.

image image

When I try it in the new privacy web browser, I can't see the I'm back menu.

Reproduction steps

nomad agent -dev -data-dir=/tmp/nomad-data -bind=0.0.0.0 -acl-enabled
export NOMAD_ADDR=http://127.0.0.1:4646; export NOMAD_TOKEN=$(nomad acl bootstrap -json | jq -r ".SecretID"); echo $NOMAD_TOKEN

Expected Result

Expecting the Sentinel menu to always be displayed

tgross commented 1 month ago

Hi @Great-Stone! I was able to reproduce this behavior exactly as you've described. The Sentinel policy section doesn't show up on the Administration page, but if I manually go to http://localhost:4646/ui/administration/sentinel-policies then it'll show up if I go back to the Administration page. Marking this for roadmapping.