mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
user token permission configurable
This commit is contained in:
+1
-1
@@ -1128,7 +1128,7 @@ JS;
|
||||
//end seed box
|
||||
|
||||
//token start
|
||||
$permissions = \App\Repositories\TokenRepository::listUserTokenPermissions();
|
||||
$permissions = \App\Repositories\TokenRepository::listUserTokenPermissionAllowed();
|
||||
$permissionOptions = [];
|
||||
foreach ($permissions as $name => $label) {
|
||||
$permissionOptions[] = sprintf('<label><input type="checkbox" name="permissions[]" value="%s">%s</label>', $name, $label);
|
||||
|
||||
Reference in New Issue
Block a user