Merge branch 'fronkdev' into 'master'

Addd DisableDevices permission

See merge request fronk/thetool!1816
This commit is contained in:
Frank Schubert
2025-10-07 12:07:08 +00:00
3 changed files with 33 additions and 2 deletions

View File

@@ -69,7 +69,7 @@
<li class="" ><a href="<?=self::getUrl("Pop")?>"><i class="fadr fa-fw fa-house text-info"></i> Pops</a></li>
<?php endif; ?>
<?php if($me->is(["Admin"]) || ($me->is("netowner","lineplanner","pipeplanner","pipeworker","lineworker","salespartner"))): ?>
<?php if(($me->is(["Admin"]) || $me->is("netowner")) && !$me->can("DevicesDisabled")): ?>
<li class=""><a href="<?=self::getUrl("Device")?>"><i class="fadr fa-fw fa-router text-info "></i> Devices</a></li>
<?php endif; ?>
<?php if($me->is(["Admin"])): ?>