files.com 1.1.435 → 1.1.437
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/site.md +1 -0
- data/docs/user.md +8 -0
- data/lib/files.com/models/user.rb +12 -0
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7215feb6ff3bed73f1366ee8bd26b0daecc3c32afea7f2d183b09ff409a89402
|
|
4
|
+
data.tar.gz: 320f3a4ada862c4e412568fcbe24e63b354181e8f4d26c77bca129bf044817be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90ca1e7c9f1aa0cd7149a28701ef80bc8ff8606587759199e287d57eb4b1a9a7e033ad18da2865fba8d40bd799a1c9e89e273db183ca4616b21d4b0b0d8731ef
|
|
7
|
+
data.tar.gz: e4673f5a5b92749c9715ddcf68d0abf3df2b33cb2601a4e452d87e7adb5a6a1a7975b38a7f05fa76d70a34914e7d71dfe0f5497ae0a3225a5cf0119e74310930
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.437
|
data/docs/site.md
CHANGED
data/docs/user.md
CHANGED
|
@@ -63,6 +63,7 @@
|
|
|
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,6 +139,7 @@
|
|
|
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?
|
|
@@ -255,6 +257,7 @@ Files::User.create(
|
|
|
255
257
|
time_zone: "Pacific Time (US & Canada)",
|
|
256
258
|
user_root: "example",
|
|
257
259
|
user_home: "example",
|
|
260
|
+
workspace_admin: true,
|
|
258
261
|
username: "user",
|
|
259
262
|
workspace_id: 1
|
|
260
263
|
)
|
|
@@ -312,6 +315,7 @@ Files::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
|
|
|
@@ -404,6 +408,7 @@ Files::User.update(id,
|
|
|
404
408
|
time_zone: "Pacific Time (US & Canada)",
|
|
405
409
|
user_root: "example",
|
|
406
410
|
user_home: "example",
|
|
411
|
+
workspace_admin: true,
|
|
407
412
|
username: "user",
|
|
408
413
|
clear_2fa: false,
|
|
409
414
|
convert_to_partner_user: false
|
|
@@ -463,6 +468,7 @@ Files::User.update(id,
|
|
|
463
468
|
* `time_zone` (string): User time zone
|
|
464
469
|
* `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.
|
|
465
470
|
* `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
|
471
|
+
* `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
|
|
466
472
|
* `username` (string): User's username
|
|
467
473
|
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
|
468
474
|
* `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
|
|
@@ -580,6 +586,7 @@ user.update(
|
|
|
580
586
|
time_zone: "Pacific Time (US & Canada)",
|
|
581
587
|
user_root: "example",
|
|
582
588
|
user_home: "example",
|
|
589
|
+
workspace_admin: true,
|
|
583
590
|
username: "user",
|
|
584
591
|
clear_2fa: false,
|
|
585
592
|
convert_to_partner_user: false
|
|
@@ -639,6 +646,7 @@ user.update(
|
|
|
639
646
|
* `time_zone` (string): User time zone
|
|
640
647
|
* `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.
|
|
641
648
|
* `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
|
649
|
+
* `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
|
|
642
650
|
* `username` (string): User's username
|
|
643
651
|
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
|
644
652
|
* `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
|
|
@@ -518,6 +518,15 @@ module Files
|
|
|
518
518
|
@attributes[:site_admin] = value
|
|
519
519
|
end
|
|
520
520
|
|
|
521
|
+
# boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
|
|
522
|
+
def workspace_admin
|
|
523
|
+
@attributes[:workspace_admin]
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
def workspace_admin=(value)
|
|
527
|
+
@attributes[:workspace_admin] = value
|
|
528
|
+
end
|
|
529
|
+
|
|
521
530
|
# int64 - Site ID
|
|
522
531
|
def site_id
|
|
523
532
|
@attributes[:site_id]
|
|
@@ -845,6 +854,7 @@ module Files
|
|
|
845
854
|
# time_zone - string - User time zone
|
|
846
855
|
# 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.
|
|
847
856
|
# user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
|
857
|
+
# workspace_admin - boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
|
|
848
858
|
# username - string - User's username
|
|
849
859
|
# clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
|
850
860
|
# convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
|
|
@@ -1019,6 +1029,7 @@ module Files
|
|
|
1019
1029
|
# time_zone - string - User time zone
|
|
1020
1030
|
# 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.
|
|
1021
1031
|
# user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
|
1032
|
+
# workspace_admin - boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
|
|
1022
1033
|
# username (required) - string - User's username
|
|
1023
1034
|
# workspace_id - int64 - Workspace ID
|
|
1024
1035
|
def self.create(params = {}, options = {})
|
|
@@ -1143,6 +1154,7 @@ module Files
|
|
|
1143
1154
|
# time_zone - string - User time zone
|
|
1144
1155
|
# 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.
|
|
1145
1156
|
# user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
|
1157
|
+
# workspace_admin - boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
|
|
1146
1158
|
# username - string - User's username
|
|
1147
1159
|
# clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
|
1148
1160
|
# convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
|
data/lib/files.com/version.rb
CHANGED