diff --git a/flows.yaml b/flows.yaml index e94b62cd..2e1993c5 100644 --- a/flows.yaml +++ b/flows.yaml @@ -13318,6 +13318,8 @@ integrations: method: GET path: /users group: Users + scopes: + - READ_USERS actions: create-user: description: Creates a user in Smartsheet @@ -13327,6 +13329,8 @@ integrations: path: /users group: Users input: CreateUser + scopes: + - ADMIN_USERS delete-user: description: > Deletes a user from Smartsheet. User is transitioned to a free @@ -13339,6 +13343,8 @@ integrations: group: Users output: SuccessResponse input: IdEntity + scopes: + - ADMIN_USERS disable-user: description: > Disables a user in an organization account. User will no longer be @@ -13350,6 +13356,8 @@ integrations: group: Users output: SuccessResponse input: IdEntity + scopes: + - ADMIN_USERS models: IdEntity: id: string diff --git a/integrations/smartsheet/actions/create-user.md b/integrations/smartsheet/actions/create-user.md index bba36387..bd67f784 100644 --- a/integrations/smartsheet/actions/create-user.md +++ b/integrations/smartsheet/actions/create-user.md @@ -6,7 +6,7 @@ - **Description:** Creates a user in Smartsheet - **Version:** 0.0.1 - **Group:** Users -- **Scopes:** _None_ +- **Scopes:** `ADMIN_USERS` - **Endpoint Type:** Action - **Code:** [github.com](https://github.com/NangoHQ/integration-templates/tree/main/integrations/smartsheet/actions/create-user.ts) diff --git a/integrations/smartsheet/actions/delete-user.md b/integrations/smartsheet/actions/delete-user.md index 7cc241d2..30f23cac 100644 --- a/integrations/smartsheet/actions/delete-user.md +++ b/integrations/smartsheet/actions/delete-user.md @@ -7,7 +7,7 @@ - **Version:** 0.0.1 - **Group:** Users -- **Scopes:** _None_ +- **Scopes:** `ADMIN_USERS` - **Endpoint Type:** Action - **Code:** [github.com](https://github.com/NangoHQ/integration-templates/tree/main/integrations/smartsheet/actions/delete-user.ts) diff --git a/integrations/smartsheet/actions/disable-user.md b/integrations/smartsheet/actions/disable-user.md index c52bdd67..a0349bfc 100644 --- a/integrations/smartsheet/actions/disable-user.md +++ b/integrations/smartsheet/actions/disable-user.md @@ -7,7 +7,7 @@ - **Version:** 0.0.1 - **Group:** Users -- **Scopes:** _None_ +- **Scopes:** `ADMIN_USERS` - **Endpoint Type:** Action - **Code:** [github.com](https://github.com/NangoHQ/integration-templates/tree/main/integrations/smartsheet/actions/disable-user.ts) diff --git a/integrations/smartsheet/nango.yaml b/integrations/smartsheet/nango.yaml index 81b9cf15..453f8e07 100644 --- a/integrations/smartsheet/nango.yaml +++ b/integrations/smartsheet/nango.yaml @@ -10,6 +10,8 @@ integrations: method: GET path: /users group: Users + scopes: + - READ_USERS actions: create-user: @@ -20,6 +22,8 @@ integrations: path: /users group: Users input: CreateUser + scopes: + - ADMIN_USERS delete-user: description: | @@ -30,6 +34,8 @@ integrations: group: Users output: SuccessResponse input: IdEntity + scopes: + - ADMIN_USERS disable-user: description: | @@ -40,6 +46,8 @@ integrations: group: Users output: SuccessResponse input: IdEntity + scopes: + - ADMIN_USERS models: IdEntity: diff --git a/integrations/smartsheet/syncs/users.md b/integrations/smartsheet/syncs/users.md index b5145a37..b2b666a7 100644 --- a/integrations/smartsheet/syncs/users.md +++ b/integrations/smartsheet/syncs/users.md @@ -6,7 +6,7 @@ - **Description:** Fetches a list of users from Smartsheet - **Version:** 0.0.1 - **Group:** Users -- **Scopes:** _None_ +- **Scopes:** `READ_USERS` - **Endpoint Type:** Sync - **Code:** [github.com](https://github.com/NangoHQ/integration-templates/tree/main/integrations/smartsheet/syncs/users.ts)