From a0fce0331a21233702b9f9bb1ab4e4fea1f4190b Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Mon, 15 Jun 2020 18:37:54 -0700 Subject: [PATCH] Show a helpful forbidden message when monitor access is not authorized --- ui/app/templates/clients/client/monitor.hbs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ui/app/templates/clients/client/monitor.hbs b/ui/app/templates/clients/client/monitor.hbs index f380d7a38..a2af78631 100644 --- a/ui/app/templates/clients/client/monitor.hbs +++ b/ui/app/templates/clients/client/monitor.hbs @@ -1,8 +1,12 @@ {{title "Client " (or model.name model.shortId)}}
- + {{#if (can "read agent")}} + + {{else}} + + {{/if}}