From ec0829c1c32a1aac5832bfee05d5d9c0476c1ba0 Mon Sep 17 00:00:00 2001 From: Ricardo Fierro Date: Wed, 25 Oct 2023 09:32:24 -0600 Subject: [PATCH] Support direct permissions for accounts --- lib/commands/std-account-list.ts | 3 ++- lib/commands/std-account-read.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/commands/std-account-list.ts b/lib/commands/std-account-list.ts index 9917f13..0ef6835 100644 --- a/lib/commands/std-account-list.ts +++ b/lib/commands/std-account-list.ts @@ -1,6 +1,6 @@ /* Copyright (c) 2021. SailPoint Technologies, Inc. All rights reserved. */ -import { AccountSchema, Attributes, CommandState, ObjectOutput } from './command' +import { AccountSchema, Attributes, CommandState, ObjectOutput, Permission } from './command' /** * Input object of `std:account:list` command @@ -19,4 +19,5 @@ export type StdAccountListOutput = ObjectOutput & { locked?: boolean deleted?: boolean attributes: Attributes + permissions?: Permission[] } diff --git a/lib/commands/std-account-read.ts b/lib/commands/std-account-read.ts index 86d2ae1..28ffae0 100644 --- a/lib/commands/std-account-read.ts +++ b/lib/commands/std-account-read.ts @@ -1,6 +1,6 @@ /* Copyright (c) 2021. SailPoint Technologies, Inc. All rights reserved. */ -import { AccountSchema, Attributes, ObjectInput, ObjectOutput } from './command' +import { AccountSchema, Attributes, ObjectInput, ObjectOutput, Permission } from './command' /** * Input object of `std:account:read` command @@ -16,4 +16,5 @@ export type StdAccountReadOutput = ObjectOutput & { disabled?: boolean locked?: boolean attributes: Attributes + permissions?: Permission[] }