mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-06-07 00:47:00 +03:00
Admin side of permissions done, still need to be enforced.
This commit is contained in:
parent
4eb40af5b7
commit
6033bc12aa
5 changed files with 322 additions and 21 deletions
|
@ -371,7 +371,7 @@ $(document).ready(function () {
|
|||
},
|
||||
<?php if (is_adminuser()) { ?>
|
||||
account: {
|
||||
title: 'Account',
|
||||
title: 'Owner',
|
||||
width: '8%',
|
||||
display: displayContent('account'),
|
||||
options: function(data) {
|
||||
|
@ -547,7 +547,7 @@ $(document).ready(function () {
|
|||
},
|
||||
<?php if (is_adminuser()) { ?>
|
||||
account: {
|
||||
title: 'Account',
|
||||
title: 'Owner',
|
||||
width: '8%',
|
||||
display: displayContent('account'),
|
||||
options: function(data) {
|
||||
|
@ -851,6 +851,7 @@ $(document).ready(function () {
|
|||
permissions: {
|
||||
title: 'Permissions',
|
||||
options: {
|
||||
'0' : 'No permissions',
|
||||
'1' : 'View Only',
|
||||
<?php if($restrictediting) { ?>
|
||||
'3' : 'Update normal records',
|
||||
|
@ -906,7 +907,7 @@ $(document).ready(function () {
|
|||
},
|
||||
<?php if (is_adminuser()) { ?>
|
||||
account: {
|
||||
title: 'Account',
|
||||
title: 'Owner',
|
||||
options: function(data) {
|
||||
return 'users.php?action=listoptions&e='+$epoch;
|
||||
},
|
||||
|
@ -975,7 +976,7 @@ $(document).ready(function () {
|
|||
inputClass: 'destname'
|
||||
},
|
||||
account: {
|
||||
title: 'Account',
|
||||
title: 'Owner',
|
||||
options: function(data) {
|
||||
return 'users.php?action=listoptions&e='+$epoch;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue