From 8801b5f8f8a9a5e3f9c8518cb64364ad7950db7d Mon Sep 17 00:00:00 2001 From: "noussair.hamrit" Date: Fri, 4 Sep 2026 18:19:06 +0200 Subject: [PATCH] fix: grant radius user access to database objects --- init/init.sql | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/init/init.sql b/init/init.sql index 3eec320..16a2124 100644 --- a/init/init.sql +++ b/init/init.sql @@ -234,4 +234,15 @@ FROM radacct ra LEFT JOIN node_assignments na ON na.username = ra.username -WHERE ra.acctstoptime IS NULL; \ No newline at end of file +WHERE ra.acctstoptime IS NULL; + +-- Permissions for the radius application user +GRANT USAGE ON SCHEMA public TO radius; + +GRANT ALL PRIVILEGES +ON ALL TABLES IN SCHEMA public +TO radius; + +GRANT ALL PRIVILEGES +ON ALL SEQUENCES IN SCHEMA public +TO radius; \ No newline at end of file