fix: grant radius user access to database objects
This commit is contained in:
@@ -235,3 +235,14 @@ LEFT JOIN node_assignments na
|
|||||||
ON na.username = ra.username
|
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;
|
||||||
Reference in New Issue
Block a user