From f1ecb976ec9db8569f8c7601a05282c9d29778b4 Mon Sep 17 00:00:00 2001 From: Treeston Date: Thu, 6 Sep 2018 10:46:28 +0200 Subject: Core/RBAC: Simplification part 1. Nobody needs different permissions for each type of .go command. (cherry picked from commit 5843724debc3642434c055e5cf6f29a1eaf65358) --- sql/updates/auth/master/2018_09_06_00_auth.sql | 3 +++ sql/updates/auth/master/2021_10_23_00_auth.sql | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 sql/updates/auth/master/2018_09_06_00_auth.sql create mode 100644 sql/updates/auth/master/2021_10_23_00_auth.sql (limited to 'sql/updates/auth') diff --git a/sql/updates/auth/master/2018_09_06_00_auth.sql b/sql/updates/auth/master/2018_09_06_00_auth.sql new file mode 100644 index 00000000000..5a9718edcfb --- /dev/null +++ b/sql/updates/auth/master/2018_09_06_00_auth.sql @@ -0,0 +1,3 @@ +-- rbac simplify +DELETE FROM `rbac_linked_permissions` WHERE `linkedid` IN (378,379,380,381,382,383,384,385,386,852,874); +DELETE FROM `rbac_permissions` WHERE `id` IN (378,379,380,381,382,383,384,385,386,852,874); diff --git a/sql/updates/auth/master/2021_10_23_00_auth.sql b/sql/updates/auth/master/2021_10_23_00_auth.sql new file mode 100644 index 00000000000..5a0e26c23fe --- /dev/null +++ b/sql/updates/auth/master/2021_10_23_00_auth.sql @@ -0,0 +1,3 @@ +-- rbac simplify +DELETE FROM `rbac_linked_permissions` WHERE `linkedid` IN (834,799,800,801); +DELETE FROM `rbac_permissions` WHERE `id` IN (834,799,800,801); -- cgit v1.2.3