diff --git a/ui/packages/consul-ui/app/components/link-to-hcp-modal/index.hbs b/ui/packages/consul-ui/app/components/link-to-hcp-modal/index.hbs index bd29b2423fb9..bdabe3b2e52e 100644 --- a/ui/packages/consul-ui/app/components/link-to-hcp-modal/index.hbs +++ b/ui/packages/consul-ui/app/components/link-to-hcp-modal/index.hbs @@ -10,6 +10,12 @@ Link to HCP Consul Central + {{#if (not (can "read acls"))}} + + ACLs are disabled on this cluster. + The cluster can only be linked with read/write access. + + {{/if}} Select cluster access mode before linking @@ -33,8 +39,11 @@ with the “builtin/global-read-only” policy in the next step. + {{#if (and this.isReadOnlyAccessLevelSelected (not (can "read acls")))}} + ACLs are disabled on this cluster and are required for read-only access. + {{/if}} - {{#if (and this.isReadOnlyAccessLevelSelected (can "create tokens"))}} + {{#if (and this.isReadOnlyAccessLevelSelected (can "read acls") (can "create tokens"))}}