|
63 | 63 | "self_managed": true, |
64 | 64 | "sftp_permission": true, |
65 | 65 | "site_admin": true, |
| 66 | + "workspace_admin": true, |
66 | 67 | "site_id": 1, |
67 | 68 | "workspace_id": 1, |
68 | 69 | "skip_welcome_screen": true, |
|
138 | 139 | * `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user? |
139 | 140 | * `sftp_permission` (boolean): Can the user access with SFTP? |
140 | 141 | * `site_admin` (boolean): Is the user an administrator for this site? |
| 142 | +* `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set. |
141 | 143 | * `site_id` (int64): Site ID |
142 | 144 | * `workspace_id` (int64): Workspace ID |
143 | 145 | * `skip_welcome_screen` (boolean): Skip Welcome page in the UI? |
@@ -254,6 +256,7 @@ await User.create({ |
254 | 256 | 'time_zone': "Pacific Time (US & Canada)", |
255 | 257 | 'user_root': "example", |
256 | 258 | 'user_home': "example", |
| 259 | + 'workspace_admin': true, |
257 | 260 | 'username': "user", |
258 | 261 | 'workspace_id': 1, |
259 | 262 | }) |
@@ -312,6 +315,7 @@ await User.create({ |
312 | 315 | * `time_zone` (string): User time zone |
313 | 316 | * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface. |
314 | 317 | * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface. |
| 318 | +* `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set. |
315 | 319 | * `username` (string): Required - User's username |
316 | 320 | * `workspace_id` (int64): Workspace ID |
317 | 321 |
|
@@ -411,6 +415,7 @@ await user.update({ |
411 | 415 | 'time_zone': "Pacific Time (US & Canada)", |
412 | 416 | 'user_root': "example", |
413 | 417 | 'user_home': "example", |
| 418 | + 'workspace_admin': true, |
414 | 419 | 'username': "user", |
415 | 420 | 'clear_2fa': false, |
416 | 421 | 'convert_to_partner_user': false, |
@@ -470,6 +475,7 @@ await user.update({ |
470 | 475 | * `time_zone` (string): User time zone |
471 | 476 | * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface. |
472 | 477 | * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface. |
| 478 | +* `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set. |
473 | 479 | * `username` (string): User's username |
474 | 480 | * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases. |
475 | 481 | * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided. |
@@ -537,6 +543,7 @@ await user.update({ |
537 | 543 | "self_managed": true, |
538 | 544 | "sftp_permission": true, |
539 | 545 | "site_admin": true, |
| 546 | + "workspace_admin": true, |
540 | 547 | "site_id": 1, |
541 | 548 | "workspace_id": 1, |
542 | 549 | "skip_welcome_screen": true, |
|
0 commit comments