Supply super user status in auth data.
This commit is contained in:
parent
19fbe59ddd
commit
8f56174637
1 changed files with 1 additions and 0 deletions
|
@ -236,6 +236,7 @@ final class SharpChatRoutes implements IRouteHandler {
|
||||||
'rank' => $userRank,
|
'rank' => $userRank,
|
||||||
'hierarchy' => $userRank,
|
'hierarchy' => $userRank,
|
||||||
'perms' => $chatPerms->getCalculated(),
|
'perms' => $chatPerms->getCalculated(),
|
||||||
|
'super' => $userInfo->isSuperUser(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue