Skip to content

Commit 39dfc85

Browse files
committed
Fix notification permissions
1 parent 8f94953 commit 39dfc85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sql/2025-04-09_notifications.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,5 +270,5 @@ CREATE TRIGGER notification_event_subscriptions
270270

271271
-- Add new permissions to existing roles
272272
UPDATE roles r
273-
SET permissions = r.permissions || '{"notifications_hub_entries:view", "notifications_hub_entries:update", "notification_delivery_methods:create", "notification_delivery_methods:update", "notification_subscriptions:create", "notification_subscriptions:update"}'
273+
SET permissions = r.permissions || '{"notification:hub_entry:view", "notification:hub_entry:update", "notification:delivery_method:view", "notification:delivery_method:manage", "notification:subscription:view", "notification:subscription:manage"}'
274274
WHERE r.ref IN ('org_admin'::role_ref, 'org_owner'::role_ref, 'org_default'::role_ref, 'org_maintainer'::role_ref);

0 commit comments

Comments
 (0)