files.com 1.1.245 → 1.1.246

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: 477daf77732354a30499b300c60d18fa462d9fafc09afe34c9da86e3a5a1da17
4
- data.tar.gz: 5ef1a82abbf6f2b0e415c19b04046cc9fe9ae67213005c9dc7d7097c256ac562
3
+ metadata.gz: ed3e00ce31107e9865375278ba9184ac6b5bfeb7f1b754604ee1c825023b2c8d
4
+ data.tar.gz: 1c4d14a29161b2b0c5b58375bf1da37efa871e5b648f625b4f1d48e1f675f138
5
5
  SHA512:
6
- metadata.gz: 1d690b0e7f3a7c1274d3e03a481ae43c12cd8da4e72e1dccd5d5f4fa3f3011e0a52d7878708550c4bd95f8afd1d2a2370a09a91b4ec2422ffd5a6d5428f995c5
7
- data.tar.gz: 6bfdd33412314d0e62cd6fed5ef1e9053c9bf9855b49dda7d00c0763205277fd59881b620bbfe76e753dacb8ac2f41780433af9489a9fc0aff97220eb822e4fb
6
+ metadata.gz: 0deb0fcb882e9ba3bdf9df1d504ebd4cab41c62a76006624151fb0dfe45c58715383561609cfb56037ab8dc94f74cf7741d31595a24683a28c26b3b535d6f97c
7
+ data.tar.gz: 44e71ce1afbfb9ecb7790bfe195be0b035e5c5a623edbc5110963b3a963ae86cd109a444fd2b03f1323197c1e7a3de4a113f5cd833dad5842a18bff804326862
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.245
1
+ 1.1.246
data/docs/site.md CHANGED
@@ -154,6 +154,7 @@
154
154
  "protocol_access_groups_only": true,
155
155
  "require_2fa": true,
156
156
  "require_2fa_stop_time": "2000-01-01T01:00:00Z",
157
+ "revoke_bundle_access_on_disable_or_delete": true,
157
158
  "require_2fa_user_type": "`site_admins`",
158
159
  "require_logout_from_bundles_and_inboxes": true,
159
160
  "session": {
@@ -425,6 +426,7 @@
425
426
  * `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
426
427
  * `require_2fa` (boolean): Require two-factor authentication for all users?
427
428
  * `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
429
+ * `revoke_bundle_access_on_disable_or_delete` (boolean): Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
428
430
  * `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
429
431
  * `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
430
432
  * `session` (Session): Current session
@@ -597,6 +599,7 @@ Files::Site.update(
597
599
  sftp_host_key_type: "default",
598
600
  active_sftp_host_key_id: 1,
599
601
  protocol_access_groups_only: false,
602
+ revoke_bundle_access_on_disable_or_delete: false,
600
603
  bundle_watermark_value: {"key":"example value"},
601
604
  group_admins_can_set_user_password: false,
602
605
  bundle_recipient_blacklist_free_email_domains: false,
@@ -756,6 +759,7 @@ Files::Site.update(
756
759
  * `sftp_host_key_type` (string): Sftp Host Key Type
757
760
  * `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
758
761
  * `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
762
+ * `revoke_bundle_access_on_disable_or_delete` (boolean): Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
759
763
  * `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
760
764
  * `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
761
765
  * `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
@@ -624,6 +624,11 @@ module Files
624
624
  @attributes[:require_2fa_stop_time]
625
625
  end
626
626
 
627
+ # boolean - Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
628
+ def revoke_bundle_access_on_disable_or_delete
629
+ @attributes[:revoke_bundle_access_on_disable_or_delete]
630
+ end
631
+
627
632
  # string - What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
628
633
  def require_2fa_user_type
629
634
  @attributes[:require_2fa_user_type]
@@ -970,6 +975,7 @@ module Files
970
975
  # sftp_host_key_type - string - Sftp Host Key Type
971
976
  # active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
972
977
  # protocol_access_groups_only - boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
978
+ # revoke_bundle_access_on_disable_or_delete - boolean - Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
973
979
  # bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
974
980
  # group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
975
981
  # bundle_recipient_blacklist_free_email_domains - boolean - Disallow free email domains for Bundle/Inbox recipients?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.245"
4
+ VERSION = "1.1.246"
5
5
  end
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.1.245
4
+ version: 1.1.246
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-29 00:00:00.000000000 Z
11
+ date: 2025-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable