aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorModoX <moardox@gmail.com>2022-08-11 20:54:12 +0200
committerShauren <shauren.trinity@gmail.com>2022-09-02 19:27:27 +0200
commit10302dca55ffc7db8c8cfc5b42f68bb082b1e8d7 (patch)
treecb5f1d391e2d0d32d10cbcd2794263081b2feb76 /sql/updates/auth
parentb08a58dec6511b757fea7d9fb3a1a178d56d8bba (diff)
Core/Commands: Added .quest objective complete command to complete single quest objectives
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/master/2022_09_02_00_auth.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/auth/master/2022_09_02_00_auth.sql b/sql/updates/auth/master/2022_09_02_00_auth.sql
new file mode 100644
index 00000000000..ead11623565
--- /dev/null
+++ b/sql/updates/auth/master/2022_09_02_00_auth.sql
@@ -0,0 +1,10 @@
+--
+SET @PERMISSION := 883;
+
+DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=@PERMISSION;
+DELETE FROM `rbac_permissions` WHERE `id`=@PERMISSION;
+INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
+(@PERMISSION, 'Command: quest objective complete');
+
+INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
+(196, @PERMISSION);