files.com 1.0.273 → 1.0.275
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/Errors.md +1 -0
- package/docs/models/Site.md +4 -0
- package/lib/Errors.js +329 -315
- package/lib/models/Site.js +5 -0
- package/package.json +1 -1
- package/src/Errors.js +1 -0
- package/src/models/Site.js +4 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.275
|
package/docs/Errors.md
CHANGED
@@ -130,6 +130,7 @@ These errors are derived from the error groups listed above.
|
|
130
130
|
### NotAuthorized_SiteFilesAreImmutableError
|
131
131
|
### NotAuthorized_TwoFactorAuthenticationRequiredError
|
132
132
|
### NotAuthorized_UserIdWithoutSiteAdminError
|
133
|
+
### NotAuthorized_WriteAndBundlePermissionRequiredError
|
133
134
|
### NotAuthorized_WritePermissionRequiredError
|
134
135
|
### NotAuthorized_ZipDownloadIpMismatchError
|
135
136
|
### NotFound_ApiKeyNotFoundError
|
package/docs/models/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)?
|
@@ -449,6 +451,7 @@ await Site.update({
|
|
449
451
|
'bundle_activity_notifications': "never",
|
450
452
|
'bundle_upload_receipt_notifications': "never",
|
451
453
|
'password_requirements_apply_to_bundles': true,
|
454
|
+
'prevent_root_permissions_for_non_site_admins': true,
|
452
455
|
'opt_out_global': true,
|
453
456
|
'use_provided_modified_at': true,
|
454
457
|
'custom_namespace': true,
|
@@ -580,6 +583,7 @@ await 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?
|