files.com 1.1.28 → 1.1.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/user.md +4 -4
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/user.rb +4 -4
- data/lib/files.com/version.rb +1 -1
- 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: 7ec967dab17e4e0e981309e96d2b0f2b1bef3f721f58908f0b93e3776b5d3cc3
|
4
|
+
data.tar.gz: 26f807efd3774443822c7cca87fba0578afecd0deb07a1734587565806bfeea4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbde7753e4ececbc0e60fbbb254f87c4d61ced79f1f0a60961314326259efe30f0385af0708636c5dfa5cf928562a394d447e87e4644e79875bf0750453287de
|
7
|
+
data.tar.gz: f37db563735aba3d2f52b01f90b32dd19be4737e6c19810b6c0e73e4678014bd68c2ca5a11bec1c9ee0f43e25794b995e16c0294137a2ddf8317ca07fc0025ea
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.30
|
data/docs/user.md
CHANGED
@@ -115,7 +115,7 @@
|
|
115
115
|
* `active_2fa` (boolean): Is 2fa active for the user?
|
116
116
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
117
117
|
* `password_expired` (boolean): Is user's password expired?
|
118
|
-
* `restapi_permission` (boolean): Can this user access the REST API?
|
118
|
+
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
119
119
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
120
120
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
121
121
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
@@ -261,7 +261,7 @@ Files::User.create(
|
|
261
261
|
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
|
262
262
|
* `require_login_by` (string): Require user to login by specified date otherwise it will be disabled.
|
263
263
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
264
|
-
* `restapi_permission` (boolean): Can this user access the REST API?
|
264
|
+
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
265
265
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
266
266
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
267
267
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
@@ -397,7 +397,7 @@ Files::User.update(id,
|
|
397
397
|
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
|
398
398
|
* `require_login_by` (string): Require user to login by specified date otherwise it will be disabled.
|
399
399
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
400
|
-
* `restapi_permission` (boolean): Can this user access the REST API?
|
400
|
+
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
401
401
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
402
402
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
403
403
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
@@ -554,7 +554,7 @@ user.update(
|
|
554
554
|
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
|
555
555
|
* `require_login_by` (string): Require user to login by specified date otherwise it will be disabled.
|
556
556
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
557
|
-
* `restapi_permission` (boolean): Can this user access the REST API?
|
557
|
+
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
558
558
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
559
559
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
560
560
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
data/lib/files.com/errors.rb
CHANGED
@@ -130,6 +130,7 @@ module Files
|
|
130
130
|
class ReauthenticationFailedError < NotAuthorizedError; end
|
131
131
|
class ReauthenticationFailedFinalError < NotAuthorizedError; end
|
132
132
|
class ReauthenticationNeededActionError < NotAuthorizedError; end
|
133
|
+
class RecaptchaFailedError < NotAuthorizedError; end
|
133
134
|
class SelfManagedRequiredError < NotAuthorizedError; end
|
134
135
|
class SiteAdminRequiredError < NotAuthorizedError; end
|
135
136
|
class SiteFilesAreImmutableError < NotAuthorizedError; end
|
@@ -419,7 +419,7 @@ module Files
|
|
419
419
|
@attributes[:password_expired] = value
|
420
420
|
end
|
421
421
|
|
422
|
-
# boolean - Can this user access the REST API?
|
422
|
+
# boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
423
423
|
def restapi_permission
|
424
424
|
@attributes[:restapi_permission]
|
425
425
|
end
|
@@ -702,7 +702,7 @@ module Files
|
|
702
702
|
# receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
|
703
703
|
# require_login_by - string - Require user to login by specified date otherwise it will be disabled.
|
704
704
|
# require_password_change - boolean - Is a password change required upon next user login?
|
705
|
-
# restapi_permission - boolean - Can this user access the REST API?
|
705
|
+
# restapi_permission - boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
706
706
|
# self_managed - boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
707
707
|
# sftp_permission - boolean - Can the user access with SFTP?
|
708
708
|
# site_admin - boolean - Is the user an administrator for this site?
|
@@ -860,7 +860,7 @@ module Files
|
|
860
860
|
# receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
|
861
861
|
# require_login_by - string - Require user to login by specified date otherwise it will be disabled.
|
862
862
|
# require_password_change - boolean - Is a password change required upon next user login?
|
863
|
-
# restapi_permission - boolean - Can this user access the REST API?
|
863
|
+
# restapi_permission - boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
864
864
|
# self_managed - boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
865
865
|
# sftp_permission - boolean - Can the user access with SFTP?
|
866
866
|
# site_admin - boolean - Is the user an administrator for this site?
|
@@ -972,7 +972,7 @@ module Files
|
|
972
972
|
# receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
|
973
973
|
# require_login_by - string - Require user to login by specified date otherwise it will be disabled.
|
974
974
|
# require_password_change - boolean - Is a password change required upon next user login?
|
975
|
-
# restapi_permission - boolean - Can this user access the REST API?
|
975
|
+
# restapi_permission - boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
976
976
|
# self_managed - boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
977
977
|
# sftp_permission - boolean - Can the user access with SFTP?
|
978
978
|
# site_admin - boolean - Is the user an administrator for this site?
|
data/lib/files.com/version.rb
CHANGED
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.
|
4
|
+
version: 1.1.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|