files.com 1.0.345 → 1.0.346

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 122df48a753acdbbedf65606b6cdf69b0407a0027daf433497fac1d9b1122c53
4
- data.tar.gz: 23fb28efc6febad41f96d9a62e8884a5ce0764222710ea1578d7d2641d3fed26
3
+ metadata.gz: 592315e300f9aa0c07e06df05823aaab69b01dc2aac1041ffa42df366c97f46a
4
+ data.tar.gz: eaf99712300783f8da9391c5e76d750d47ab0aa103a944a6843f6cb660af2475
5
5
  SHA512:
6
- metadata.gz: 2c8751d198ad3d16678965e738ad41eb9f7e6e9459eb9f51d514ee476fe2761b23837b0576d140af83559c792b04b432846925d42fce6c17f4964eb8191d22f2
7
- data.tar.gz: f7a4c99c48dbc430dd6c0d121e4abc66b6de1bed16a63d2931dbcc23520bd943fc638d940a34e63d6f2ead7ed964d0097e12713022a438618f6ca4cf65f4ce48
6
+ metadata.gz: ac23366bb81b2dd9719b8b9120c7024bf01c450fd75e494b01bf8a3c058892f6b6186f7316859f67aefef640503d97581902b2d0756b12921e92e7da7fa3635b
7
+ data.tar.gz: 706d1a15c2f8688a36edcb30cae582dfa34f7b7648a74bb8b01b7f5c67cf22bb12742d994954fbaa46111655db8c8ff39c598e2c24b657a1848d33dc408d0ae3
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.345
1
+ 1.0.346
data/docs/site.md CHANGED
@@ -213,7 +213,8 @@
213
213
  "welcome_email_enabled": true,
214
214
  "welcome_screen": "user_controlled",
215
215
  "windows_mode_ftp": true,
216
- "disable_users_from_inactivity_period_days": 1
216
+ "disable_users_from_inactivity_period_days": 1,
217
+ "group_admins_can_set_user_password": true
217
218
  }
218
219
  ```
219
220
 
@@ -358,6 +359,7 @@
358
359
  * `welcome_screen` (string): Does the welcome screen appear?
359
360
  * `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
360
361
  * `disable_users_from_inactivity_period_days` (int64): If greater than zero, users will unable to login if they do not show activity within this number of days.
362
+ * `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
361
363
 
362
364
 
363
365
  ---
@@ -462,6 +464,7 @@ Files::Site.update(
462
464
  sftp_host_key_type: "default",
463
465
  active_sftp_host_key_id: 1,
464
466
  bundle_watermark_value: {"key":"example value"},
467
+ group_admins_can_set_user_password: true,
465
468
  allowed_2fa_method_sms: true,
466
469
  allowed_2fa_method_u2f: true,
467
470
  allowed_2fa_method_totp: true,
@@ -591,6 +594,7 @@ Files::Site.update(
591
594
  * `sftp_host_key_type` (string): Sftp Host Key Type
592
595
  * `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
593
596
  * `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
597
+ * `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
594
598
  * `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
595
599
  * `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
596
600
  * `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
@@ -714,6 +714,11 @@ module Files
714
714
  @attributes[:disable_users_from_inactivity_period_days]
715
715
  end
716
716
 
717
+ # boolean - Allow group admins set password authentication method
718
+ def group_admins_can_set_user_password
719
+ @attributes[:group_admins_can_set_user_password]
720
+ end
721
+
717
722
  def self.get(params = {}, options = {})
718
723
  response, options = Api.send_request("/site", :get, params, options)
719
724
  Site.new(response.data, options)
@@ -803,6 +808,7 @@ module Files
803
808
  # sftp_host_key_type - string - Sftp Host Key Type
804
809
  # active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
805
810
  # bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
811
+ # group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
806
812
  # allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
807
813
  # allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
808
814
  # allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.345
4
+ version: 1.0.346
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-28 00:00:00.000000000 Z
11
+ date: 2023-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable