mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update groups.php
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//check the permissions
|
||||
if (if_group("admin") || if_group("superadmin")) {
|
||||
//check permissions
|
||||
if (permission_exists('group_all')) {
|
||||
//access allowed
|
||||
}
|
||||
else {
|
||||
@@ -83,7 +83,6 @@
|
||||
//$system_groups = array('superadmin','admin','user','public','agent');
|
||||
$system_groups = array();
|
||||
|
||||
|
||||
//get group counts
|
||||
$sql = "select group_uuid, count(user_uuid) as group_count from v_user_groups ";
|
||||
if (!permission_exists('user_all')) {
|
||||
|
||||
Reference in New Issue
Block a user