[*] новые фичи 3
This commit is contained in:
1 parent
436839ac9a
commit
7fc566430f
4 files changed
+174
-13
No files matched your search
@@ -151,6 +151,16 @@
|
||||
return $this->getAllUserData() ? $this->getAllUserData()['id'] : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Получение прав доступа текущего пользователя
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getAccessLevel(): ?string
|
||||
{
|
||||
return $this->getAllUserData() ? $this->getAllUserData()['access_level'] : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Получение всех пользователей панели
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user