files.com 1.0.335 → 1.0.337
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/user.md +4 -4
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/user.rb +4 -4
- 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: 0524a69b766300097eded01d8a73553b87fac692e4bbe3a00e4cbca77d866b33
|
4
|
+
data.tar.gz: db809958827706751dd1ccef70335723a812e9a2dd301ce326dd6da1932e9df6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ce7026201ef4310437d4ecec858457cdbd060663dcc7750117b853b6de68c5d79e3caa0c12229d2ac43088d961b73e5c6feba776a93fd6c83016b42da7b0a98
|
7
|
+
data.tar.gz: f25f3967b2782e8172046e677b67b3c5efba87416492520b80dd78a194c6047c0c11beb56804397d9b81b057d68e397ac2a1a4e2d4e118d8c4b97f7888c60e88
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.337
|
data/docs/user.md
CHANGED
@@ -131,7 +131,7 @@
|
|
131
131
|
* `avatar_delete` (boolean): If true, the avatar will be deleted.
|
132
132
|
* `change_password` (string): Used for changing a password on an existing user.
|
133
133
|
* `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
134
|
-
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `
|
134
|
+
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
|
135
135
|
* `group_id` (int64): Group ID to associate this user with.
|
136
136
|
* `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
137
137
|
* `password` (string): User password.
|
@@ -237,7 +237,7 @@ Files::User.create(
|
|
237
237
|
* `change_password` (string): Used for changing a password on an existing user.
|
238
238
|
* `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
239
239
|
* `email` (string): User's email.
|
240
|
-
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `
|
240
|
+
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
|
241
241
|
* `group_id` (int64): Group ID to associate this user with.
|
242
242
|
* `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
|
243
243
|
* `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
@@ -371,7 +371,7 @@ Files::User.update(id,
|
|
371
371
|
* `change_password` (string): Used for changing a password on an existing user.
|
372
372
|
* `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
373
373
|
* `email` (string): User's email.
|
374
|
-
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `
|
374
|
+
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
|
375
375
|
* `group_id` (int64): Group ID to associate this user with.
|
376
376
|
* `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
|
377
377
|
* `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
@@ -526,7 +526,7 @@ user.update(
|
|
526
526
|
* `change_password` (string): Used for changing a password on an existing user.
|
527
527
|
* `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
528
528
|
* `email` (string): User's email.
|
529
|
-
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `
|
529
|
+
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
|
530
530
|
* `group_id` (int64): Group ID to associate this user with.
|
531
531
|
* `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
|
532
532
|
* `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
data/lib/files.com/errors.rb
CHANGED
@@ -56,6 +56,7 @@ module Files
|
|
56
56
|
class InvalidCursorError < BadRequestError; end
|
57
57
|
class InvalidCursorTypeForSortError < BadRequestError; end
|
58
58
|
class InvalidEtagsError < BadRequestError; end
|
59
|
+
class InvalidFilterAliasCombinationError < BadRequestError; end
|
59
60
|
class InvalidFilterCombinationError < BadRequestError; end
|
60
61
|
class InvalidFilterFieldError < BadRequestError; end
|
61
62
|
class InvalidFilterParamError < BadRequestError; end
|
@@ -572,7 +572,7 @@ module Files
|
|
572
572
|
@attributes[:change_password_confirmation] = value
|
573
573
|
end
|
574
574
|
|
575
|
-
# string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `
|
575
|
+
# string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
|
576
576
|
def grant_permission
|
577
577
|
@attributes[:grant_permission]
|
578
578
|
end
|
@@ -665,7 +665,7 @@ module Files
|
|
665
665
|
# change_password - string - Used for changing a password on an existing user.
|
666
666
|
# change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
667
667
|
# email - string - User's email.
|
668
|
-
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `
|
668
|
+
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
|
669
669
|
# group_id - int64 - Group ID to associate this user with.
|
670
670
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
671
671
|
# imported_password_hash - string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
@@ -825,7 +825,7 @@ module Files
|
|
825
825
|
# change_password - string - Used for changing a password on an existing user.
|
826
826
|
# change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
827
827
|
# email - string - User's email.
|
828
|
-
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `
|
828
|
+
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
|
829
829
|
# group_id - int64 - Group ID to associate this user with.
|
830
830
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
831
831
|
# imported_password_hash - string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
@@ -934,7 +934,7 @@ module Files
|
|
934
934
|
# change_password - string - Used for changing a password on an existing user.
|
935
935
|
# change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
936
936
|
# email - string - User's email.
|
937
|
-
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `
|
937
|
+
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
|
938
938
|
# group_id - int64 - Group ID to associate this user with.
|
939
939
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
940
940
|
# imported_password_hash - string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
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.337
|
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-04-
|
11
|
+
date: 2023-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|