mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 06:46:33 +00:00
separate Uploader role
This commit is contained in:
Vendored
+9
-2
@@ -12,11 +12,18 @@ create table users
|
||||
grant select, insert, update, delete on public.users to azaion_admin;
|
||||
grant select on table public.users to azaion_reader;
|
||||
|
||||
INSERT INTO public.users
|
||||
(id, email, password_hash, hardware, hardware_hash, role)
|
||||
INSERT INTO public.users (id, email, password_hash, hardware, hardware_hash, role)
|
||||
VALUES ('d90a36ca-e237-4fbd-9c7c-127040ac8556',
|
||||
'admin@azaion.com',
|
||||
'282wqVHZU0liTxphiGkKIaJtUA1W6rILdvfEOx8Ez350x0XLbgNtrSUYCK1r/ajq',
|
||||
null,
|
||||
null,
|
||||
'ApiAdmin');
|
||||
|
||||
INSERT INTO public.users (id, email, password_hash, hardware, hardware_hash, role)
|
||||
VALUES ('48adb269-ecd5-4197-a9d1-cd36254cf104',
|
||||
'uploader@azaion.com',
|
||||
'2zHX1eSnbdCirc+KRNepcr5g4ZFQhhrII0FggYyMezQzxD+gBxwISCZ48fe1wxAk',
|
||||
null,
|
||||
null,
|
||||
'ResourceUploader');
|
||||
|
||||
Reference in New Issue
Block a user