fix: grant radius user access to database objects

This commit is contained in:
2026-09-04 18:19:06 +02:00
parent 20f62e3547
commit 8801b5f8f8
+12 -1
View File
@@ -234,4 +234,15 @@ FROM radacct ra
LEFT JOIN node_assignments na
ON na.username = ra.username
WHERE ra.acctstoptime IS NULL;
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;