Skip to content

Commit e05c755

Browse files
committed
RHINENG-21214: fix manager update privileges
1 parent 033d6a6 commit e05c755

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
REVOKE UPDATE (template_id) ON system_patch FROM manager;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GRANT UPDATE (template_id) ON system_patch TO manager;

database_admin/schema/create_schema.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS schema_migrations
77

88

99
INSERT INTO schema_migrations
10-
VALUES (143, false);
10+
VALUES (144, false);
1111

1212
-- ---------------------------------------------------------------------------
1313
-- Functions
@@ -1061,7 +1061,8 @@ GRANT SELECT, UPDATE (installable_advisory_count_cache,
10611061
applicable_advisory_count_cache,
10621062
applicable_advisory_enh_count_cache,
10631063
applicable_advisory_bug_count_cache,
1064-
applicable_advisory_sec_count_cache) ON system_patch TO manager;
1064+
applicable_advisory_sec_count_cache,
1065+
template_id) ON system_patch TO manager;
10651066
GRANT SELECT, UPDATE, DELETE ON system_patch to vmaas_sync; -- vmaas_sync performs system culling
10661067

10671068
-- system_platform

0 commit comments

Comments
 (0)