mirror of
https://github.com/friendica/friendica
synced 2025-04-27 10:30:10 +00:00
Preparations for a moderator role
This commit is contained in:
parent
41bc148040
commit
0a45bdd3b7
5 changed files with 31 additions and 4 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue