You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui/packages/consul-ui/tests/acceptance/navigation-links.feature

34 lines
827 B

@setupApplicationTest
Feature: navigation-links: Main Navigation link visibility
Scenario: No read access to Key/Values
Given 1 datacenter model with the value "dc-1"
And the url "/v1/internal/acl/authorize" responds with from yaml
---
body:
- Resource: operator
Access: write
Allow: true
- Resource: service
Access: read
Allow: true
- Resource: node
Access: read
Allow: true
- Resource: key
Access: read
Allow: true
- Resource: intention
Access: read
Allow: true
- Resource: acl
Access: read
Allow: false
---
When I visit the services page for yaml
---
dc: dc-1
---
Then I see services on the navigation
Then I don't see roles on the navigation