Cleanup
This commit is contained in:
1292
supabase/migrations/20221215192558_schema.sql
Normal file
1292
supabase/migrations/20221215192558_schema.sql
Normal file
File diff suppressed because it is too large
Load Diff
25
supabase/migrations/20240319163440_roles-seed.sql
Normal file
25
supabase/migrations/20240319163440_roles-seed.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
-- We seed the role_permissions table with the default roles and permissions
|
||||
insert into public.role_permissions(
|
||||
role,
|
||||
permission)
|
||||
values (
|
||||
'owner',
|
||||
'roles.manage'),
|
||||
(
|
||||
'owner',
|
||||
'billing.manage'),
|
||||
(
|
||||
'owner',
|
||||
'settings.manage'),
|
||||
(
|
||||
'owner',
|
||||
'members.manage'),
|
||||
(
|
||||
'owner',
|
||||
'invites.manage'),
|
||||
(
|
||||
'member',
|
||||
'settings.manage'),
|
||||
(
|
||||
'member',
|
||||
'invites.manage');
|
||||
Reference in New Issue
Block a user