mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Add role parameter to user:update (Zulip) (#2336)
* ⚡ Add role parameter to user:update * ✏️ Fix typo issue
This commit is contained in:
@@ -226,14 +226,14 @@ export const userFields = [
|
||||
name: 'isAdmin',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether the target user is an administrator.',
|
||||
description: 'Whether the target user is an administrator',
|
||||
},
|
||||
{
|
||||
displayName: 'Is Guest',
|
||||
name: 'isGuest',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether the target user is a guest.',
|
||||
description: 'Whether the target user is a guest',
|
||||
},
|
||||
{
|
||||
displayName: 'Profile Data',
|
||||
@@ -268,6 +268,35 @@ export const userFields = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'Role',
|
||||
name: 'role',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Organization Owner',
|
||||
value: 100,
|
||||
},
|
||||
{
|
||||
name: 'Organization Administrator',
|
||||
value: 200,
|
||||
},
|
||||
{
|
||||
name: 'Organization Moderator',
|
||||
value: 300,
|
||||
},
|
||||
{
|
||||
name: 'Member',
|
||||
value: 400,
|
||||
},
|
||||
{
|
||||
name: 'Guest',
|
||||
value: 600,
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'Role for the user',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user