Skip to content

Commit 612ef72

Browse files
committed
fix(layout): broaden menu section permissions
Update several admin navigation sections so they stay visible for users who only have the newer related permission sets. This adds Device, Connector, Connection Filter, and Room permissions alongside the existing checks.
1 parent 059bd9b commit 612ef72

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/layouts/config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ export const nativeMenuItems = [
585585
},
586586
{
587587
title: 'Device Management',
588-
permissions: ['Endpoint.MEM.*'],
588+
permissions: ['Endpoint.MEM.*', 'Endpoint.Device.*'],
589589
items: [
590590
{
591591
title: 'Devices',
@@ -821,7 +821,7 @@ export const nativeMenuItems = [
821821
},
822822
{
823823
title: 'Transport',
824-
permissions: ['Exchange.TransportRule.*'],
824+
permissions: ['Exchange.TransportRule.*', 'Exchange.Connector.*'],
825825
items: [
826826
{
827827
title: 'Transport rules',
@@ -849,7 +849,7 @@ export const nativeMenuItems = [
849849
},
850850
{
851851
title: 'Spamfilter',
852-
permissions: ['Exchange.SpamFilter.*'],
852+
permissions: ['Exchange.SpamFilter.*', 'Exchange.ConnectionFilter.*'],
853853
items: [
854854
{
855855
title: 'Spamfilter',
@@ -882,7 +882,7 @@ export const nativeMenuItems = [
882882
},
883883
{
884884
title: 'Resource Management',
885-
permissions: ['Exchange.Equipment.*'],
885+
permissions: ['Exchange.Equipment.*', 'Exchange.Room.*'],
886886
items: [
887887
{
888888
title: 'Equipment',

0 commit comments

Comments
 (0)