aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorTraesh <traesh@farahlon.com>2016-09-25 16:13:12 +0200
committerShauren <shauren.trinity@gmail.com>2016-09-25 16:13:12 +0200
commitd4887311e39527e036419ebd966f399fdbdae67a (patch)
tree7a87b65e493e3b0660790b02b151107fc4ab66b4 /sql/updates/auth
parentdd64a3cd36d7c8db67f4075c5a8c1eb01898d1ed (diff)
Core/Scenes: Implemented scene system
Closes #17858 Closes #17976
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/6.x/2016_09_25_00_auth.sql19
1 files changed, 19 insertions, 0 deletions
diff --git a/sql/updates/auth/6.x/2016_09_25_00_auth.sql b/sql/updates/auth/6.x/2016_09_25_00_auth.sql
new file mode 100644
index 00000000000..0720f6b6964
--- /dev/null
+++ b/sql/updates/auth/6.x/2016_09_25_00_auth.sql
@@ -0,0 +1,19 @@
+DELETE FROM `rbac_permissions` WHERE `id` IN (844, 845, 846, 847, 848, 849, 850);
+INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
+(844, 'Command: scene'),
+(845, 'Command: scene debug'),
+(846, 'Command: scene play'),
+(847, 'Command: scene play package'),
+(848, 'Command: scene cancel'),
+(849, 'Command: list scenes'),
+(850, 'Command: reload scenes');
+
+DELETE FROM `rbac_linked_permissions` WHERE `linkedId` IN (844, 845, 846, 847, 848, 849, 850);
+INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
+(192, 844),
+(192, 845),
+(192, 846),
+(192, 847),
+(192, 848),
+(192, 849),
+(192, 850);