mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 06:53:47 +08:00
Add default permissions
This commit is contained in:
parent
367423d0af
commit
c1789f65be
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use Flarum\Core\Group;
|
||||
use Flarum\Database\Migration;
|
||||
|
||||
return Migration::addPermissions([
|
||||
'discussion.tag' => Group::MODERATOR_ID
|
||||
]);
|
Loading…
Reference in New Issue
Block a user