From 3df403f13c0c5691018bb782f432ac214abee62b Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Wed, 13 Sep 2023 10:11:01 -0500 Subject: [PATCH] Add comments to SokweDB group roles --- db/creategroups.m4 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/db/creategroups.m4 b/db/creategroups.m4 index f13a00d..f7c23a4 100644 --- a/db/creategroups.m4 +++ b/db/creategroups.m4 @@ -30,5 +30,14 @@ include(`constants.m4') dnl CREATE ROLE sdb_admin_group NOLOGIN CREATEDB CREATEROLE; +COMMENT ON ROLE sdb_admin_group IS + 'Role membership grants maximal SokweDB permissions'; + CREATE ROLE sdb_reader NOLOGIN; +COMMENT ON ROLE sdb_reader IS + 'Role membership grants read access to SokweDB data'; + CREATE ROLE sdb_writer NOLOGIN; +COMMENT ON ROLE sdb_writer IS + 'Role membership grants read/write access to SokweDB data'; + -- 2.34.1