From 963294ec703e45321743172e5b91caa972104094 Mon Sep 17 00:00:00 2001 From: Musilah Date: Thu, 7 Nov 2024 16:20:07 +0300 Subject: [PATCH] add permissions to user struct Signed-off-by: Musilah --- .changeset/sixty-mugs-invite.md | 5 +++++ src/defs.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/sixty-mugs-invite.md diff --git a/.changeset/sixty-mugs-invite.md b/.changeset/sixty-mugs-invite.md new file mode 100644 index 0000000..deedad6 --- /dev/null +++ b/.changeset/sixty-mugs-invite.md @@ -0,0 +1,5 @@ +--- +"@absmach/magistrala-sdk": patch +--- + +Add permissions to User's struct diff --git a/src/defs.ts b/src/defs.ts index 14165cb..37bf286 100644 --- a/src/defs.ts +++ b/src/defs.ts @@ -10,6 +10,7 @@ export interface UserBasicInfo { export interface User extends UserBasicInfo { role?: string + permissions?: string[] tags?: string[] metadata?: Record created_at?: Date