John Cowen 54f0cd812a
ui: Show the correct 'ACLs Disabled' page when ACLs are disabled (#10604)
Adds 'can access ACLs' which means one of two things

1. When ACLs are disabled I can access the 'please enable ACLs' page
2. When ACLs are enabled, its the same as canRead
2021-07-14 18:52:13 +01:00

12 lines
342 B
Gherkin

@setupApplicationTest
Feature: dc / acls / access: ACLs Access
Scenario: ACLs are disabled
Given ACLs are disabled
And 1 datacenter model with the value "dc-1"
When I visit the tokens page for yaml
---
dc: dc-1
---
Then the url should be /dc-1/acls/tokens
And I see the "[data-test-acls-disabled]" element