Skip to content

Commit

Permalink
add permissions to user struct
Browse files Browse the repository at this point in the history
Signed-off-by: Musilah <[email protected]>
  • Loading branch information
Musilah committed Nov 7, 2024
1 parent 1b562e1 commit 963294e
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 963294e

Please sign in to comment.