diff options
| author | Spp <spp@jorge.gr> | 2013-03-08 13:58:15 +0100 |
|---|---|---|
| committer | Spp <spp@jorge.gr> | 2013-03-08 13:58:15 +0100 |
| commit | 987826bc0db002a7c2727738adb20c924718ab68 (patch) | |
| tree | 91f77c7457ffd639dc98f42902c19a5f6b486965 | |
| parent | 377cfdb5602cec4ce13d9d50937836aa7e03c446 (diff) | |
Core/RBAC: Change default db permissions to behave like a server with default config before RBAC conversion
(Missing change from previous commit)
To enable any of the removed config option you should now add the proper role to the proper groups
IE:
AllowTwoSide.Interaction.Mail = 1 --> Add role 19 to group 1 (Add it to players)
| -rw-r--r-- | sql/updates/auth/2013_03_08_00_auth_misc.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/auth/2013_03_08_00_auth_misc.sql b/sql/updates/auth/2013_03_08_00_auth_misc.sql new file mode 100644 index 00000000000..85d61beff3d --- /dev/null +++ b/sql/updates/auth/2013_03_08_00_auth_misc.sql @@ -0,0 +1,9 @@ +-- Delete 'Two side mail interaction', 'Allow say chat between factions' and 'Allow channel chat between factions' from Player group +DELETE FROM `rbac_group_roles` WHERE `groupId` = 1 AND `roleId` IN (19, 28, 30); + +-- Delete 'Join channels withou announce' from Moderators group +DELETE FROM `rbac_group_roles` WHERE `groupId` = 2 AND `roleId` IN (31); + +-- Add 'Allow two side charater accounts' +DELETE FROM `rbac_group_roles` WHERE `roleId` = 34; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES (1, 34); |
