Skip to content

Commit b798ffd

Browse files
committed
fix(rbac): remove self-manage interests permissions for app guests
- Remove permissions related to creating, reading, updating, and deleting owned interests for app guest users - This change aligns with the requirement that app guests should not be able to manage their interests
1 parent 8774c2e commit b798ffd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/src/rbac/role_permissions.dart

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ final Set<String> _appGuestUserPermissions = {
2525
// notifications.
2626
Permissions.pushNotificationDeviceCreateOwned,
2727
Permissions.pushNotificationDeviceDeleteOwned,
28-
29-
// Allow all app users to manage their own interests.
30-
Permissions.interestCreateOwned,
31-
Permissions.interestReadOwned,
32-
Permissions.interestUpdateOwned,
33-
Permissions.interestDeleteOwned,
34-
3528
// Allow all app users to manage their own in-app notifications.
3629
Permissions.inAppNotificationReadOwned,
3730
Permissions.inAppNotificationUpdateOwned,

0 commit comments

Comments
 (0)