diff --git a/extensions/tags/migrations/2017_07_22_000000_add_default_permissions.php b/extensions/tags/migrations/2017_07_22_000000_add_default_permissions.php new file mode 100644 index 000000000..30d82cd9e --- /dev/null +++ b/extensions/tags/migrations/2017_07_22_000000_add_default_permissions.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\Core\Group; +use Flarum\Database\Migration; + +return Migration::addPermissions([ + 'discussion.tag' => Group::MODERATOR_ID +]);