mirror of
https://github.com/flarum/core.git
synced 2025-10-12 07:24:27 +02:00
Define the default moderator group ID
This allows extensions to add default permissions for moderators, without having to hardcode in the default moderator group ID.
This commit is contained in:
@@ -52,6 +52,11 @@ class Group extends AbstractModel
|
||||
*/
|
||||
const MEMBER_ID = 3;
|
||||
|
||||
/**
|
||||
* The ID of the mod group.
|
||||
*/
|
||||
const MODERATOR_ID = 4;
|
||||
|
||||
/**
|
||||
* Boot the model.
|
||||
*
|
||||
|
Reference in New Issue
Block a user