mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Finalisation de Google Drive
This commit is contained in:
@@ -310,6 +310,10 @@ class User extends Authenticatable
|
||||
{
|
||||
if ($this->job->permission($perm) == 0)
|
||||
{
|
||||
if ($this->rank->id == 1)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return $this->rank->permission($perm);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user