Skip to content

Commit 677e85f

Browse files
committed
feat(rbac): add local ad permissions
- Add create, read, update, and delete permissions for local ads - New permissions are included in the Permissions abstract class
1 parent a2a5e46 commit 677e85f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/src/rbac/permissions.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ abstract class Permissions {
6868
static const String userPreferenceBypassLimits =
6969
'user_preference.bypass_limits';
7070

71+
// Local Ad Permissions
72+
static const String localAdCreate = 'localAd.create';
73+
static const String localAdRead = 'localAd.read';
74+
static const String localAdUpdate = 'localAd.update';
75+
static const String localAdDelete = 'localAd.delete';
76+
7177
// General System Permissions
7278
static const String rateLimitingBypass = 'rate_limiting.bypass';
7379
}

0 commit comments

Comments
 (0)