Blob Blame Raw
From 797e2d603bdc4bea009f7e0053f2e41fdb9238a6 Mon Sep 17 00:00:00 2001
From: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Date: Thu, 30 Oct 2014 12:15:44 +0200
Subject: [PATCH 1/1] Fix PostgreSQL setup SQL permissions

---
 raddb/mods-config/sql/main/postgresql/setup.sql | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/raddb/mods-config/sql/main/postgresql/setup.sql b/raddb/mods-config/sql/main/postgresql/setup.sql
index 26d08ca..407f414 100644
--- a/raddb/mods-config/sql/main/postgresql/setup.sql
+++ b/raddb/mods-config/sql/main/postgresql/setup.sql
@@ -29,4 +29,7 @@ GRANT SELECT ON radusergroup TO radius;
  * The server can write to the accounting and post-auth logging table.
  */
 GRANT SELECT, INSERT, UPDATE on radacct TO radius;
+GRANT SELECT, USAGE on radacct_radacctid_seq TO radius;
+
 GRANT SELECT, INSERT, UPDATE on radpostauth TO radius;
+GRANT SELECT, USAGE on radpostauth_id_seq TO radius;
-- 
2.1.3