Skip to content

Commit

Permalink
Merge pull request #83 from Musilah/usersPermissions
Browse files Browse the repository at this point in the history
NOISSUE - Add permissions to user's struct
  • Loading branch information
ianmuchyri authored Nov 7, 2024
2 parents 1b562e1 + 963294e commit a452550
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-mugs-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@absmach/magistrala-sdk": patch
---

Add permissions to User's struct
1 change: 1 addition & 0 deletions src/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface UserBasicInfo {

export interface User extends UserBasicInfo {
role?: string
permissions?: string[]
tags?: string[]
metadata?: Record<string, any>
created_at?: Date
Expand Down

0 comments on commit a452550

Please sign in to comment.