Preparations for a moderator role

This commit is contained in:
Michael 2023-08-10 21:06:08 +00:00
parent 41bc148040
commit 0a45bdd3b7
5 changed files with 31 additions and 4 deletions

View file

@ -93,6 +93,13 @@ interface IHandleUserSessions extends IHandleSessions
*/
public function isSiteAdmin(): bool;
/**
* Check if current user is a moderator.
*
* @return bool true if user is a moderator
*/
public function isModerator(): bool;
/**
* Returns User ID of the managed user in case it's a different identity
*