mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 22:06:33 +00:00
6d28085b7e
change aes mode to cfb in encrypt / decrypt in Security
14 lines
529 B
SQL
14 lines
529 B
SQL
-- run these commands in psql under admin acc:
|
|
create role azaion_superadmin superuser login password 'superadmin-pass';
|
|
create database azaion owner azaion_superadmin;
|
|
\c azaion
|
|
|
|
--writer user
|
|
create role azaion_admin with login password 'admin-pass';
|
|
grant connect on database azaion to azaion_admin;
|
|
grant usage on schema public to azaion_admin;
|
|
|
|
--readonly user
|
|
create role azaion_reader with login password 'readonly-pass';
|
|
grant connect on database azaion to azaion_reader;
|
|
grant usage on schema public to azaion_reader; |