Skip to content

Commit 8368dba

Browse files
[Bot] push changes from Files.com
1 parent ecb689e commit 8368dba

13 files changed

Lines changed: 29 additions & 16 deletions

File tree

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.641
1+
1.2.642

docs/models/Site.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
"prevent_root_permissions_for_non_site_admins": true,
176176
"protocol_access_groups_only": true,
177177
"require_2fa": true,
178+
"require_2fa_exempt_all_sso_users": true,
178179
"require_2fa_stop_time": "2000-01-01T01:00:00Z",
179180
"revoke_bundle_access_on_disable_or_delete": true,
180181
"require_2fa_user_type": "`site_admins`",
@@ -485,6 +486,7 @@
485486
* `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.
486487
* `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.
487488
* `require_2fa` (boolean): Require two-factor authentication for all users?
489+
* `require_2fa_exempt_all_sso_users` (boolean): If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
488490
* `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
489491
* `revoke_bundle_access_on_disable_or_delete` (boolean): Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
490492
* `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)?
@@ -684,6 +686,7 @@ await Site.update({
684686
'allowed_2fa_method_static': false,
685687
'allowed_2fa_method_bypass_for_ftp_sftp_dav': false,
686688
'require_2fa': false,
689+
'require_2fa_exempt_all_sso_users': false,
687690
'require_2fa_user_type': "`site_admins`",
688691
'color2_top': "#000000",
689692
'color2_left': "#0066a7",
@@ -860,6 +863,7 @@ await Site.update({
860863
* `allowed_2fa_method_static` (boolean): Is OTP via static codes for two factor authentication allowed?
861864
* `allowed_2fa_method_bypass_for_ftp_sftp_dav` (boolean): Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
862865
* `require_2fa` (boolean): Require two-factor authentication for all users?
866+
* `require_2fa_exempt_all_sso_users` (boolean): If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
863867
* `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)?
864868
* `color2_top` (string): Top bar background color
865869
* `color2_left` (string): Page link and button color

docs/models/SsoStrategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
* `provision_sftp_permission` (boolean): Auto-provisioned users get SFTP permission?
9696
* `provision_time_zone` (string): Default time zone for auto provisioned users.
9797
* `provision_company` (string): Default company for auto provisioned users.
98-
* `provision_require_2fa` (string): 2FA required setting for auto provisioned users.
98+
* `provision_require_2fa` (string): 2FA required setting for auto provisioned users. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
9999
* `provision_filesystem_layout` (string): File System layout to use for auto provisioned users.
100100
* `provider_identifier` (string): URL-friendly, unique identifier for Azure SAML configuration
101101
* `ldap_base_dn` (string): Base DN for looking up users in LDAP server

docs/models/User.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
* `notify_on_all_sync_failures` (boolean): Should the user receive sync failures via email?
151151
* `notify_on_all_automation_failures` (boolean): Should the user receive automation failures via email?
152152
* `notify_on_all_expectation_failures` (boolean): Should the user receive expectation failures and misses via email?
153-
* `require_2fa` (string): 2FA required setting
153+
* `require_2fa` (string): 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
154154
* `require_login_by` (date-time): Require user to login by specified date otherwise it will be disabled.
155155
* `active_2fa` (boolean): Is 2fa active for the user?
156156
* `require_password_change` (boolean): Is a password change required upon next user login?
@@ -354,7 +354,7 @@ await User.create({
354354
* `ssl_required` (string): SSL required setting
355355
* `sso_strategy_id` (int64): SSO (Single Sign On) strategy ID for the user, if applicable.
356356
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
357-
* `require_2fa` (string): 2FA required setting
357+
* `require_2fa` (string): 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
358358
* `tags` (string): Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
359359
* `time_zone` (string): User time zone
360360
* `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.
@@ -537,7 +537,7 @@ await user.update({
537537
* `ssl_required` (string): SSL required setting
538538
* `sso_strategy_id` (int64): SSO (Single Sign On) strategy ID for the user, if applicable.
539539
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
540-
* `require_2fa` (string): 2FA required setting
540+
* `require_2fa` (string): 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
541541
* `tags` (string): Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
542542
* `time_zone` (string): User time zone
543543
* `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.

lib/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var apiKey;
1212
var baseUrl = 'https://app.files.com';
1313
var sessionId = null;
1414
var language = null;
15-
var version = '1.2.641';
15+
var version = '1.2.642';
1616
var userAgent = "Files.com JavaScript SDK v".concat(version);
1717
var logLevel = _Logger.LogLevel.INFO;
1818
var debugRequest = false;

lib/models/Site.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
580580
(0, _defineProperty2.default)(this, "getRequire2fa", function () {
581581
return _this.attributes.require_2fa;
582582
});
583+
// boolean # If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
584+
(0, _defineProperty2.default)(this, "getRequire2faExemptAllSsoUsers", function () {
585+
return _this.attributes.require_2fa_exempt_all_sso_users;
586+
});
583587
// date-time # If set, requirement for two-factor authentication has been scheduled to end on this date-time.
584588
(0, _defineProperty2.default)(this, "getRequire2faStopTime", function () {
585589
return _this.attributes.require_2fa_stop_time;
@@ -957,6 +961,7 @@ _Site = Site;
957961
// allowed_2fa_method_static - boolean - Is OTP via static codes for two factor authentication allowed?
958962
// allowed_2fa_method_bypass_for_ftp_sftp_dav - boolean - Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
959963
// require_2fa - boolean - Require two-factor authentication for all users?
964+
// require_2fa_exempt_all_sso_users - boolean - If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
960965
// 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)?
961966
// color2_top - string - Top bar background color
962967
// color2_left - string - Page link and button color

lib/models/SsoStrategy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
176176
(0, _defineProperty2.default)(this, "getProvisionCompany", function () {
177177
return _this.attributes.provision_company;
178178
});
179-
// string # 2FA required setting for auto provisioned users.
179+
// string # 2FA required setting for auto provisioned users. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
180180
(0, _defineProperty2.default)(this, "getProvisionRequire2fa", function () {
181181
return _this.attributes.provision_require_2fa;
182182
});

lib/models/User.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
428428
(0, _defineProperty2.default)(this, "setNotifyOnAllExpectationFailures", function (value) {
429429
_this.attributes.notify_on_all_expectation_failures = value;
430430
});
431-
// string # 2FA required setting
431+
// string # 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
432432
(0, _defineProperty2.default)(this, "getRequire2fa", function () {
433433
return _this.attributes.require_2fa;
434434
});
@@ -905,7 +905,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
905905
// ssl_required - string - SSL required setting
906906
// sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
907907
// subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
908-
// require_2fa - string - 2FA required setting
908+
// require_2fa - string - 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
909909
// tags - string - Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
910910
// time_zone - string - User time zone
911911
// 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.
@@ -1448,7 +1448,7 @@ _User = User;
14481448
// ssl_required - string - SSL required setting
14491449
// sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
14501450
// subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
1451-
// require_2fa - string - 2FA required setting
1451+
// require_2fa - string - 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
14521452
// tags - string - Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
14531453
// time_zone - string - User time zone
14541454
// 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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "files.com",
3-
"version": "1.2.641",
3+
"version": "1.2.642",
44
"description": "Files.com SDK for JavaScript",
55
"keywords": [
66
"files.com",

src/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let apiKey
66
let baseUrl = 'https://app.files.com'
77
let sessionId = null
88
let language = null
9-
const version = '1.2.641'
9+
const version = '1.2.642'
1010
let userAgent = `Files.com JavaScript SDK v${version}`
1111

1212
let logLevel = LogLevel.INFO

0 commit comments

Comments
 (0)