diff --git a/framework/core/migrations/2018_07_16_003952_allow_hide_posts_for_moderators.php b/framework/core/migrations/2018_07_16_003952_allow_hide_posts_for_moderators.php new file mode 100644 index 000000000..57203b7b1 --- /dev/null +++ b/framework/core/migrations/2018_07_16_003952_allow_hide_posts_for_moderators.php @@ -0,0 +1,17 @@ + + * + * 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 +]);