files.com 1.0.348 → 1.0.349
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 +4 -0
- data/lib/files.com/models/site.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b635e2758a31eeb4c06d2164596ffd24f63fd1c5749527747f4e44b1848e68b
|
|
4
|
+
data.tar.gz: c0b26970af9bd96eb1b4905fb6093c05d43b01996ecac7506976465d1babf065
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9601af5e69f3d3a5dc7259494c04d6251d401b012a7c97aebb0443c665b5a86cf538f51cc004d754e98e40e305c106daf803ff800b44e1a1f5d283cd4a8d20f
|
|
7
|
+
data.tar.gz: 5ffbf7e6ef430973b22a4abd6895f697c10a088271bcb100276903886ed945b920a528d9bec319270b455c94492a8b93da73d167f3bc9c70fd726b7534f294ac
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.349
|
data/docs/site.md
CHANGED
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
"password_validity_days": 1,
|
|
105
105
|
"phone": "555-555-5555",
|
|
106
106
|
"pin_all_remote_servers_to_site_region": true,
|
|
107
|
+
"prevent_root_permissions_for_non_site_admins": true,
|
|
107
108
|
"require_2fa": true,
|
|
108
109
|
"require_2fa_stop_time": "2000-01-01T01:00:00Z",
|
|
109
110
|
"require_2fa_user_type": "`site_admins`",
|
|
@@ -316,6 +317,7 @@
|
|
|
316
317
|
* `password_validity_days` (int64): Number of days password is valid
|
|
317
318
|
* `phone` (string): Site phone number
|
|
318
319
|
* `pin_all_remote_servers_to_site_region` (boolean): If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
|
320
|
+
* `prevent_root_permissions_for_non_site_admins` (boolean): If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
|
|
319
321
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
|
320
322
|
* `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
|
321
323
|
* `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)?
|
|
@@ -450,6 +452,7 @@ Files::Site.update(
|
|
|
450
452
|
bundle_activity_notifications: "never",
|
|
451
453
|
bundle_upload_receipt_notifications: "never",
|
|
452
454
|
password_requirements_apply_to_bundles: true,
|
|
455
|
+
prevent_root_permissions_for_non_site_admins: true,
|
|
453
456
|
opt_out_global: true,
|
|
454
457
|
use_provided_modified_at: true,
|
|
455
458
|
custom_namespace: true,
|
|
@@ -580,6 +583,7 @@ Files::Site.update(
|
|
|
580
583
|
* `bundle_activity_notifications` (string): Do Bundle owners receive activity notifications?
|
|
581
584
|
* `bundle_upload_receipt_notifications` (string): Do Bundle uploaders receive upload confirmation notifications?
|
|
582
585
|
* `password_requirements_apply_to_bundles` (boolean): Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
|
|
586
|
+
* `prevent_root_permissions_for_non_site_admins` (boolean): If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
|
|
583
587
|
* `opt_out_global` (boolean): Use servers in the USA only?
|
|
584
588
|
* `use_provided_modified_at` (boolean): Allow uploaders to set `provided_modified_at` for uploaded files?
|
|
585
589
|
* `custom_namespace` (boolean): Is this site using a custom namespace for users?
|
|
@@ -499,6 +499,11 @@ module Files
|
|
|
499
499
|
@attributes[:pin_all_remote_servers_to_site_region]
|
|
500
500
|
end
|
|
501
501
|
|
|
502
|
+
# boolean - If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
|
|
503
|
+
def prevent_root_permissions_for_non_site_admins
|
|
504
|
+
@attributes[:prevent_root_permissions_for_non_site_admins]
|
|
505
|
+
end
|
|
506
|
+
|
|
502
507
|
# boolean - Require two-factor authentication for all users?
|
|
503
508
|
def require_2fa
|
|
504
509
|
@attributes[:require_2fa]
|
|
@@ -794,6 +799,7 @@ module Files
|
|
|
794
799
|
# bundle_activity_notifications - string - Do Bundle owners receive activity notifications?
|
|
795
800
|
# bundle_upload_receipt_notifications - string - Do Bundle uploaders receive upload confirmation notifications?
|
|
796
801
|
# password_requirements_apply_to_bundles - boolean - Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
|
|
802
|
+
# prevent_root_permissions_for_non_site_admins - boolean - If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
|
|
797
803
|
# opt_out_global - boolean - Use servers in the USA only?
|
|
798
804
|
# use_provided_modified_at - boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
|
|
799
805
|
# custom_namespace - boolean - Is this site using a custom namespace for users?
|
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.
|
|
4
|
+
version: 1.0.349
|
|
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-05-
|
|
11
|
+
date: 2023-05-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|