Update permissions.php

This commit is contained in:
FusionPBX 2024-04-20 21:59:04 -06:00 committed by GitHub
parent 955a840ad6
commit 278f1d7453
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

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();