From a0aaa80029ca98cfe6bf15f8ead6ba5e18b69554 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Thu, 6 Oct 2016 10:02:21 +0100 Subject: [PATCH] Allow users to choose SELECT permissions for sequences in the Grant Wizard. Fixes #1835 --- .../grant_wizard/templates/grant_wizard/pg/9.1_plus/acl.json | 2 +- .../grant_wizard/templates/grant_wizard/ppas/9.1_plus/acl.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pgadmin/tools/grant_wizard/templates/grant_wizard/pg/9.1_plus/acl.json b/web/pgadmin/tools/grant_wizard/templates/grant_wizard/pg/9.1_plus/acl.json index 1a5b11ef8..2ea34c424 100644 --- a/web/pgadmin/tools/grant_wizard/templates/grant_wizard/pg/9.1_plus/acl.json +++ b/web/pgadmin/tools/grant_wizard/templates/grant_wizard/pg/9.1_plus/acl.json @@ -17,7 +17,7 @@ }, "sequence": { "type": "SEQUENCE", - "acl": ["w", "U"] + "acl": ["r", "w", "U"] }, "function": { "type": "FUNCTION", diff --git a/web/pgadmin/tools/grant_wizard/templates/grant_wizard/ppas/9.1_plus/acl.json b/web/pgadmin/tools/grant_wizard/templates/grant_wizard/ppas/9.1_plus/acl.json index 1a5b11ef8..2ea34c424 100644 --- a/web/pgadmin/tools/grant_wizard/templates/grant_wizard/ppas/9.1_plus/acl.json +++ b/web/pgadmin/tools/grant_wizard/templates/grant_wizard/ppas/9.1_plus/acl.json @@ -17,7 +17,7 @@ }, "sequence": { "type": "SEQUENCE", - "acl": ["w", "U"] + "acl": ["r", "w", "U"] }, "function": { "type": "FUNCTION",