Skip to content

Commit 347c5c7

Browse files
committed
feat(rbac): add language permissions
- Add create, read, update, and delete permissions for languages - Maintain consistent naming convention with existing permissions
1 parent f54ebec commit 347c5c7

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
@@ -28,6 +28,12 @@ abstract class Permissions {
2828
static const String countryUpdate = 'country.update';
2929
static const String countryDelete = 'country.delete';
3030

31+
// Language Permissions
32+
static const String languageCreate = 'language.create';
33+
static const String languageRead = 'language.read';
34+
static const String languageUpdate = 'language.update';
35+
static const String languageDelete = 'language.delete';
36+
3137
// User Permissions
3238
// Allows reading any user profile (e.g., for admin or public profiles)
3339
static const String userRead = 'user.read';

0 commit comments

Comments
 (0)