mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
* a small structural change to fit better with the default of directus-sync * revert mage conflict
5 lines
319 B
SQL
5 lines
319 B
SQL
UPDATE public.directus_permissions
|
|
SET presets = jsonb_set(presets::jsonb,'{role}', to_jsonb((SELECT id FROM public.directus_roles WHERE name = 'Registrated')), true)
|
|
WHERE policy = (SELECT id FROM public.directus_policies WHERE name = '$t:public_label')
|
|
AND collection = 'directus_users'
|
|
AND action = 'create'; |