Prevent users from removing the SCHEDULER user or changing the password for it.
This commit is contained in:
parent
5ec66ba60c
commit
389227ab6f
1 changed files with 4 additions and 3 deletions
|
@ -14,9 +14,10 @@
|
|||
{if $i.type|lower == 'g'}{assign var="_type" value="group"}{else}{assign var="_type" value="user"}{/if}
|
||||
<tr class="{cycle values='blue1, blue2'}"
|
||||
style="cursor: pointer"
|
||||
onClick="return contextmenu('id={$i.id}&login={$i.login|escape:'url'}', {if $i.type|lower eq 'g'}'SUBJECTS.manageGroupMember', {else}'SUBJECTS.chgPasswd', {/if} 'SUBJECTS.removeSubj')"
|
||||
{* dont show the scheduler options - we dont want users changing the password or deleting it *}
|
||||
{if $i.login!="scheduler"}onClick="return contextmenu('id={$i.id}&login={$i.login|escape:'url'}', {if $i.type|lower eq 'g'}'SUBJECTS.manageGroupMember', {else}'SUBJECTS.chgPasswd', {/if} 'SUBJECTS.removeSubj')"{/if}
|
||||
>
|
||||
<td>{$i.login}</td>
|
||||
<td {if $i.login=="scheduler"}style="color: grey"{/if}>{$i.login}</td>
|
||||
<td style="width: 30px; text-align: center;">
|
||||
{if $i.type|lower == 'g'}
|
||||
{$i.cnt}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue