Update permissions.php

This commit is contained in:
FusionPBX
2024-04-20 21:59:04 -06:00
committed by GitHub
parent 955a840ad6
commit 278f1d7453

View File

@@ -70,8 +70,8 @@ if (!class_exists('permissions')) {
}
else {
//create the groups object
$group = new groups($this->database, $this->domain_uuid, $this->user_uuid);
$this->groups = $group->assigned();
$groups = new groups($this->database, $this->domain_uuid, $this->user_uuid);
$this->groups = $groups->assigned();
//get the list of groups assigned to the user
$this->permissions = $this->assigned();