mirror of
https://github.com/flarum/framework.git
synced 2025-02-23 05:16:25 +08:00
parent
1c152a7265
commit
c070c9d35c
@ -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\Database\Migration;
|
||||||
|
use Flarum\Group\Group;
|
||||||
|
|
||||||
|
return Migration::addPermissions([
|
||||||
|
'discussion.hidePosts' => Group::MODERATOR_ID
|
||||||
|
]);
|
Loading…
x
Reference in New Issue
Block a user