Skip to content

Commit

Permalink
fix(assetGroupsRoles):add models group-roles to allow group management (
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinRousselet authored Feb 11, 2025
1 parent 1a60562 commit 9fa85c8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/modules/asset/roles/RoleAssetsGroupsAdmin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ export const RoleAssetsGroupsAdmin: KuzzleRole = {
"*": true,
},
},
"device-manager/models": {
actions: {
listGroups: true,
getGroup: true,
},
},
},
},
};
6 changes: 6 additions & 0 deletions lib/modules/asset/roles/RoleAssetsGroupsReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ export const RoleAssetsGroupsReader: KuzzleRole = {
search: true,
},
},
"device-manager/models": {
actions: {
listGroups: true,
getGroup: true,
},
},
},
},
};

0 comments on commit 9fa85c8

Please sign in to comment.