From 6dc03c84cb85c2d1a62c52cf478c4b34229895b2 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Tue, 27 Jul 2021 14:53:17 -0700 Subject: [PATCH] Device details permission fix. --- views/default.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/default.handlebars b/views/default.handlebars index 76747148..b34c6c08 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -6710,7 +6710,7 @@ ); QV('MainDevTerminal', (((node.agent == null) && (node.intelamt != null)) || (node.agent.caps == null) || ((node.agent.caps & 2) != 0) || (node.intelamt && (node.intelamt.state == 2))) && (meshrights & 8) && terminalAccess); QV('MainDevFiles', (node.agent != null) && (node.agent.caps != null) && ((node.agent.caps & 4) != 0) && (meshrights & 8) && fileAccess); - QV('MainDevInfo', (node.mtype != 3) & (meshrights & 1048576)); + QV('MainDevInfo', (node.mtype != 3) & ((meshrights & 1048576) != 0)); QV('MainDevAmt', (node.intelamt != null) && ((node.intelamt.state == 2) || (node.conn & 2)) && (meshrights & 8) && amtAccess); QV('MainDevConsole', (consoleRights && ((node.agent != null) && (node.agent.caps != null) && ((node.agent.caps & 8) != 0))) && (meshrights & 8)); QV('MainDevPlugins', false);