mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 00:08:01 +00:00
feat(Scripts/Commands): Add .pet list and .pet delete commands (#25692)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
10
data/sql/updates/pending_db_auth/rev_1777755418998123400.sql
Normal file
10
data/sql/updates/pending_db_auth/rev_1777755418998123400.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- RBAC permissions for .pet list (sec 1+, Mod role 198) and .pet delete (sec 3+, Admin role 196).
|
||||
DELETE FROM `rbac_permissions` WHERE `id` IN (914, 915);
|
||||
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
|
||||
(914, 'Command: pet list'),
|
||||
(915, 'Command: pet delete');
|
||||
|
||||
DELETE FROM `rbac_linked_permissions` WHERE `linkedId` IN (914, 915);
|
||||
INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
|
||||
(198, 914),
|
||||
(196, 915);
|
||||
Reference in New Issue
Block a user