From c1789f65bed757be64b8942fd4eeffc9b98d1208 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 22 Jul 2017 12:14:27 +0930 Subject: [PATCH] Add default permissions --- ...017_07_22_000000_add_default_permissions.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 extensions/tags/migrations/2017_07_22_000000_add_default_permissions.php 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 +]);