Skip to content

Commit 787d3a9

Browse files
committed
feat(rbac): grant app review permissions to user roles
Assigns the newly created `app_review.*_owned` permissions to all standard app user roles (`guestUser`, `standardUser`, `premiumUser`). This allows any authenticated user to create and manage their own app review feedback through the generic data API.
1 parent 61f1a3f commit 787d3a9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/rbac/role_permissions.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ final Set<String> _appGuestUserPermissions = {
3838
Permissions.engagementDeleteOwned,
3939
Permissions.reportCreateOwned,
4040
Permissions.reportReadOwned,
41+
42+
// App Review Permissions
43+
Permissions.appReviewCreateOwned,
44+
Permissions.appReviewReadOwned,
45+
Permissions.appReviewUpdateOwned,
4146
};
4247

4348
final Set<String> _appStandardUserPermissions = {

0 commit comments

Comments
 (0)