From 06183e4c1d98c0068876f800241d80c58001035c Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Thu, 28 Apr 2016 09:58:10 -0400 Subject: [PATCH] Add custom permission to permission.permission_list in Evergreen db The quick_reports_setup.sql was missing a crucial permission required in the permission.permission_list in the Evergreen database. This commit adds an insert of that permission. Thank you to Brent Mills from Hood River Library for the discovery! Signed-off-by: Michael Peters --- sql/quick_reports_setup.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/quick_reports_setup.sql b/sql/quick_reports_setup.sql index 51feb41..4236a39 100644 --- a/sql/quick_reports_setup.sql +++ b/sql/quick_reports_setup.sql @@ -101,3 +101,5 @@ CREATE TABLE quick_reports.draft_reports ( ,params TEXT ,create_time TIMESTAMP WITH TIME zone NOT NULL DEFAULT now() ); + +INSERT INTO permission.permission_list (id,code,description) VALUES (DEFAULT, 'ADMIN_SIMPLE_REPORTS', 'Necessary for Admin of Quick Reports Add-on'); -- 2.11.0