Skip to content

Commit b0211e9

Browse files
[Bot] push changes from Files.com
1 parent ec94c1c commit b0211e9

File tree

17 files changed

+891
-675
lines changed

17 files changed

+891
-675
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,6 @@ Error
664664
| `NotAuthorized_ApiKeyOnlyForDesktopAppError`| `NotAuthorizedError` |
665665
| `NotAuthorized_ApiKeyOnlyForMobileAppError`| `NotAuthorizedError` |
666666
| `NotAuthorized_ApiKeyOnlyForOfficeIntegrationError`| `NotAuthorizedError` |
667-
| `NotAuthorized_BillingOrSiteAdminPermissionRequiredError`| `NotAuthorizedError` |
668667
| `NotAuthorized_BillingPermissionRequiredError`| `NotAuthorizedError` |
669668
| `NotAuthorized_BundleMaximumUsesReachedError`| `NotAuthorizedError` |
670669
| `NotAuthorized_BundlePermissionRequiredError`| `NotAuthorizedError` |
@@ -696,6 +695,11 @@ Error
696695
| `NotAuthorized_ReauthenticationNeededActionError`| `NotAuthorizedError` |
697696
| `NotAuthorized_RecaptchaFailedError`| `NotAuthorizedError` |
698697
| `NotAuthorized_SelfManagedRequiredError`| `NotAuthorizedError` |
698+
| `NotAuthorized_SiteAdminOrPartnerAdminPermissionRequiredError`| `NotAuthorizedError` |
699+
| `NotAuthorized_SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError`| `NotAuthorizedError` |
700+
| `NotAuthorized_SiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequiredError`| `NotAuthorizedError` |
701+
| `NotAuthorized_SiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequiredError`| `NotAuthorizedError` |
702+
| `NotAuthorized_SiteAdminOrWorkspaceAdminPermissionRequiredError`| `NotAuthorizedError` |
699703
| `NotAuthorized_SiteAdminRequiredError`| `NotAuthorizedError` |
700704
| `NotAuthorized_SiteFilesAreImmutableError`| `NotAuthorizedError` |
701705
| `NotAuthorized_TwoFactorAuthenticationRequiredError`| `NotAuthorizedError` |

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.606
1+
1.2.607

docs/Errors.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ These errors are derived from the error groups listed above.
116116
### NotAuthorized_ApiKeyOnlyForDesktopAppError
117117
### NotAuthorized_ApiKeyOnlyForMobileAppError
118118
### NotAuthorized_ApiKeyOnlyForOfficeIntegrationError
119-
### NotAuthorized_BillingOrSiteAdminPermissionRequiredError
120119
### NotAuthorized_BillingPermissionRequiredError
121120
### NotAuthorized_BundleMaximumUsesReachedError
122121
### NotAuthorized_BundlePermissionRequiredError
@@ -148,6 +147,11 @@ These errors are derived from the error groups listed above.
148147
### NotAuthorized_ReauthenticationNeededActionError
149148
### NotAuthorized_RecaptchaFailedError
150149
### NotAuthorized_SelfManagedRequiredError
150+
### NotAuthorized_SiteAdminOrPartnerAdminPermissionRequiredError
151+
### NotAuthorized_SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError
152+
### NotAuthorized_SiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequiredError
153+
### NotAuthorized_SiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequiredError
154+
### NotAuthorized_SiteAdminOrWorkspaceAdminPermissionRequiredError
151155
### NotAuthorized_SiteAdminRequiredError
152156
### NotAuthorized_SiteFilesAreImmutableError
153157
### NotAuthorized_TwoFactorAuthenticationRequiredError

docs/models/Partner.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
```
66
{
77
"allow_bypassing_2fa_policies": true,
8+
"allowed_ips": "10.0.0.0/8\n127.0.0.1",
89
"allow_credential_changes": true,
910
"allow_providing_gpg_keys": true,
1011
"allow_user_creation": true,
@@ -28,6 +29,7 @@
2829
```
2930

3031
* `allow_bypassing_2fa_policies` (boolean): Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
32+
* `allowed_ips` (string): A list of allowed IPs for this Partner. Newline delimited. Partner User IP access is allowed when the IP matches the Partner, User, or Site allowed IP lists.
3133
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
3234
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
3335
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
@@ -75,6 +77,7 @@ await Partner.find(id)
7577

7678
```
7779
await Partner.create({
80+
'allowed_ips': "10.0.0.0/8\n127.0.0.1",
7881
'allow_bypassing_2fa_policies': false,
7982
'allow_credential_changes': false,
8083
'allow_providing_gpg_keys': false,
@@ -90,6 +93,7 @@ await Partner.create({
9093

9194
### Parameters
9295

96+
* `allowed_ips` (string): A list of allowed IPs for this Partner. Newline delimited. Partner User IP access is allowed when the IP matches the Partner, User, or Site allowed IP lists.
9397
* `allow_bypassing_2fa_policies` (boolean): Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
9498
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
9599
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
@@ -108,6 +112,7 @@ await Partner.create({
108112
const partner = await Partner.find(id)
109113
110114
await partner.update({
115+
'allowed_ips': "10.0.0.0/8\n127.0.0.1",
111116
'allow_bypassing_2fa_policies': false,
112117
'allow_credential_changes': false,
113118
'allow_providing_gpg_keys': false,
@@ -122,6 +127,7 @@ await partner.update({
122127
### Parameters
123128

124129
* `id` (int64): Required - Partner ID.
130+
* `allowed_ips` (string): A list of allowed IPs for this Partner. Newline delimited. Partner User IP access is allowed when the IP matches the Partner, User, or Site allowed IP lists.
125131
* `allow_bypassing_2fa_policies` (boolean): Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
126132
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
127133
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
@@ -136,6 +142,7 @@ await partner.update({
136142
```json
137143
{
138144
"allow_bypassing_2fa_policies": true,
145+
"allowed_ips": "10.0.0.0/8\n127.0.0.1",
139146
"allow_credential_changes": true,
140147
"allow_providing_gpg_keys": true,
141148
"allow_user_creation": true,

docs/models/Site.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@
8888
"non_sso_groups_allowed": true,
8989
"non_sso_users_allowed": true,
9090
"folder_permissions_groups_only": true,
91+
"group_admins_can_add_users": true,
92+
"group_admins_can_delete_users": true,
93+
"group_admins_can_enable_disable_users": true,
94+
"group_admins_can_modify_users": true,
95+
"group_admins_can_reset_passwords": true,
96+
"group_admins_can_set_user_password": true,
9197
"hipaa": true,
9298
"icon128": {
9399
"name": "My logo",
@@ -270,6 +276,7 @@
270276
"partner_name": "example",
271277
"password_set_at": "2000-01-01T01:00:00Z",
272278
"password_validity_days": 1,
279+
"primary_group_id": 1,
273280
"public_keys_count": 1,
274281
"receive_admin_alerts": true,
275282
"require_2fa": "always_require",
@@ -315,8 +322,7 @@
315322
"welcome_email_subject": "example",
316323
"welcome_email_enabled": true,
317324
"welcome_screen": "user_controlled",
318-
"windows_mode_ftp": true,
319-
"group_admins_can_set_user_password": true
325+
"windows_mode_ftp": true
320326
}
321327
```
322328

@@ -395,6 +401,12 @@
395401
* `non_sso_groups_allowed` (boolean): If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
396402
* `non_sso_users_allowed` (boolean): If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
397403
* `folder_permissions_groups_only` (boolean): If true, permissions for this site must be bound to a group (not a user).
404+
* `group_admins_can_add_users` (boolean): Allow group admins to create users in their groups
405+
* `group_admins_can_delete_users` (boolean): Allow group admins to delete users in their groups
406+
* `group_admins_can_enable_disable_users` (boolean): Allow group admins to enable or disable users in their groups
407+
* `group_admins_can_modify_users` (boolean): Allow group admins to modify users in their groups
408+
* `group_admins_can_reset_passwords` (boolean): Allow group admins to reset passwords for users in their groups
409+
* `group_admins_can_set_user_password` (boolean): Allow group admins to set password authentication method
398410
* `hipaa` (boolean): Is there a signed HIPAA BAA between Files.com and this site?
399411
* `icon128` (Image): Branded icon 128x128
400412
* `icon16` (Image): Branded icon 16x16
@@ -496,7 +508,6 @@
496508
* `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
497509
* `welcome_screen` (string): Does the welcome screen appear?
498510
* `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
499-
* `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
500511

501512
---
502513

@@ -626,6 +637,11 @@ await Site.update({
626637
'protocol_access_groups_only': false,
627638
'revoke_bundle_access_on_disable_or_delete': false,
628639
'bundle_watermark_value': {"key":"example value"},
640+
'group_admins_can_add_users': false,
641+
'group_admins_can_delete_users': false,
642+
'group_admins_can_enable_disable_users': false,
643+
'group_admins_can_modify_users': false,
644+
'group_admins_can_reset_passwords': false,
629645
'group_admins_can_set_user_password': false,
630646
'bundle_recipient_blacklist_free_email_domains': false,
631647
'bundle_recipient_blacklist_domains': ["example"],
@@ -792,7 +808,12 @@ await Site.update({
792808
* `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.
793809
* `revoke_bundle_access_on_disable_or_delete` (boolean): Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
794810
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
795-
* `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
811+
* `group_admins_can_add_users` (boolean): Allow group admins to create users in their groups
812+
* `group_admins_can_delete_users` (boolean): Allow group admins to delete users in their groups
813+
* `group_admins_can_enable_disable_users` (boolean): Allow group admins to enable or disable users in their groups
814+
* `group_admins_can_modify_users` (boolean): Allow group admins to modify users in their groups
815+
* `group_admins_can_reset_passwords` (boolean): Allow group admins to reset passwords for users in their groups
816+
* `group_admins_can_set_user_password` (boolean): Allow group admins to set password authentication method
796817
* `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
797818
* `bundle_recipient_blacklist_domains` (array(string)): List of email domains to disallow when entering a Bundle/Inbox recipients
798819
* `admins_bypass_locked_subfolders` (boolean): Allow admins to bypass the locked subfolders setting.

docs/models/User.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"partner_name": "example",
5353
"password_set_at": "2000-01-01T01:00:00Z",
5454
"password_validity_days": 1,
55+
"primary_group_id": 1,
5556
"public_keys_count": 1,
5657
"receive_admin_alerts": true,
5758
"require_2fa": "always_require",
@@ -129,6 +130,7 @@
129130
* `partner_name` (string): Name of the Partner if this user belongs to a Partner
130131
* `password_set_at` (date-time): Last time the user's password was set
131132
* `password_validity_days` (int64): Number of days to allow user to use the same password
133+
* `primary_group_id` (int64): Primary group ID for Group Admin scoping
132134
* `public_keys_count` (int64): Number of public keys associated with this user
133135
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
134136
* `require_2fa` (string): 2FA required setting
@@ -242,6 +244,7 @@ await User.create({
242244
'partner_admin': true,
243245
'partner_id': 1,
244246
'password_validity_days': 1,
247+
'primary_group_id': 1,
245248
'readonly_site_admin': true,
246249
'receive_admin_alerts': true,
247250
'require_login_by': "2000-01-01T01:00:00Z",
@@ -302,6 +305,7 @@ await User.create({
302305
* `partner_admin` (boolean): Is this user a Partner administrator?
303306
* `partner_id` (int64): Partner ID if this user belongs to a Partner
304307
* `password_validity_days` (int64): Number of days to allow user to use the same password
308+
* `primary_group_id` (int64): Primary group ID for Group Admin scoping
305309
* `readonly_site_admin` (boolean): Is the user an allowed to view all (non-billing) site configuration for this site?
306310
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
307311
* `require_login_by` (string): Require user to login by specified date otherwise it will be disabled.
@@ -403,6 +407,7 @@ await user.update({
403407
'partner_admin': true,
404408
'partner_id': 1,
405409
'password_validity_days': 1,
410+
'primary_group_id': 1,
406411
'readonly_site_admin': true,
407412
'receive_admin_alerts': true,
408413
'require_login_by': "2000-01-01T01:00:00Z",
@@ -464,6 +469,7 @@ await user.update({
464469
* `partner_admin` (boolean): Is this user a Partner administrator?
465470
* `partner_id` (int64): Partner ID if this user belongs to a Partner
466471
* `password_validity_days` (int64): Number of days to allow user to use the same password
472+
* `primary_group_id` (int64): Primary group ID for Group Admin scoping
467473
* `readonly_site_admin` (boolean): Is the user an allowed to view all (non-billing) site configuration for this site?
468474
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
469475
* `require_login_by` (string): Require user to login by specified date otherwise it will be disabled.
@@ -538,6 +544,7 @@ await user.update({
538544
"partner_name": "example",
539545
"password_set_at": "2000-01-01T01:00:00Z",
540546
"password_validity_days": 1,
547+
"primary_group_id": 1,
541548
"public_keys_count": 1,
542549
"receive_admin_alerts": true,
543550
"require_2fa": "always_require",

0 commit comments

Comments
 (0)