diff --git a/ui/packages/consul-ui/app/components/topology-metrics/notice/limited-access.hbs b/ui/packages/consul-ui/app/components/topology-metrics/notice/limited-access.hbs new file mode 100644 index 0000000000..733418b6a5 --- /dev/null +++ b/ui/packages/consul-ui/app/components/topology-metrics/notice/limited-access.hbs @@ -0,0 +1,16 @@ + + +

+ Limited Access +

+
+ +

+ This service may have dependencies you won’t see because you don’t have access to them. +

+
+
\ No newline at end of file diff --git a/ui/packages/consul-ui/app/models/topology.js b/ui/packages/consul-ui/app/models/topology.js index 5f8d3f3b08..39b3c2d86f 100644 --- a/ui/packages/consul-ui/app/models/topology.js +++ b/ui/packages/consul-ui/app/models/topology.js @@ -11,5 +11,6 @@ export default Model.extend({ Upstreams: attr(), Downstreams: attr(), Protocol: attr(), + FilteredByACLs: attr(), meta: attr(), }); diff --git a/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs b/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs index fda0cfbb0c..45ce9b9fa5 100644 --- a/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs +++ b/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs @@ -1,5 +1,8 @@
+ {{#if topology.FilteredByACLs}} + + {{/if}} {{#if topology}}