files.com 1.0.81 → 1.0.82
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/permission.md +1 -1
- data/docs/user.md +4 -4
- data/lib/files.com/models/permission.rb +1 -1
- 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: 291ed1937c452b1f0b2949b0188f3eee3083fba6a49ea3ce42e664b89bcc49c3
|
4
|
+
data.tar.gz: e8af65f7aad9a09e547184bac4caa3e53ac506dbf1462ae13a91bb461302072b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e884b02521b63b92fae0107df8d9853dee8518eedab399c3c055c5737851bdb7211a77c74524a447072aed6c27df29a76423817696ea04b218380a1647e74f5
|
7
|
+
data.tar.gz: f6f41719640ef692004aec3035c51366430d6a3ea1108c4ca383488c640a688f5bad37c127280e119807e3e5c91aca97484cc0cb37db5cb530207f7040c173e7
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.82
|
data/docs/permission.md
CHANGED
@@ -68,7 +68,7 @@ Files::Permission.create(path,
|
|
68
68
|
|
69
69
|
* `group_id` (int64): Group ID
|
70
70
|
* `path` (string): Folder path
|
71
|
-
* `permission` (string): Permission type. Can be `admin`, `full`, `readonly`, `writeonly`, `
|
71
|
+
* `permission` (string): Permission type. Can be `admin`, `full`, `readonly`, `writeonly`, `list`, or `history`
|
72
72
|
* `recursive` (boolean): Apply to subfolders recursively?
|
73
73
|
* `user_id` (int64): User ID. Provide `username` or `user_id`
|
74
74
|
* `username` (string): User username. Provide `username` or `user_id`
|
data/docs/user.md
CHANGED
@@ -101,7 +101,7 @@
|
|
101
101
|
* `avatar_delete` (boolean): If true, the avatar will be deleted.
|
102
102
|
* `change_password` (string): Used for changing a password on an existing user.
|
103
103
|
* `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
104
|
-
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `
|
104
|
+
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
105
105
|
* `group_id` (int64): Group ID to associate this user with.
|
106
106
|
* `password` (string): User password.
|
107
107
|
* `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
@@ -197,7 +197,7 @@ Files::User.create(
|
|
197
197
|
* `change_password` (string): Used for changing a password on an existing user.
|
198
198
|
* `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
199
199
|
* `email` (string): User's email.
|
200
|
-
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `
|
200
|
+
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
201
201
|
* `group_id` (int64): Group ID to associate this user with.
|
202
202
|
* `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
|
203
203
|
* `password` (string): User password.
|
@@ -322,7 +322,7 @@ Files::User.update(id,
|
|
322
322
|
* `change_password` (string): Used for changing a password on an existing user.
|
323
323
|
* `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
324
324
|
* `email` (string): User's email.
|
325
|
-
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `
|
325
|
+
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
326
326
|
* `group_id` (int64): Group ID to associate this user with.
|
327
327
|
* `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
|
328
328
|
* `password` (string): User password.
|
@@ -468,7 +468,7 @@ user.update(
|
|
468
468
|
* `change_password` (string): Used for changing a password on an existing user.
|
469
469
|
* `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
470
470
|
* `email` (string): User's email.
|
471
|
-
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `
|
471
|
+
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
472
472
|
* `group_id` (int64): Group ID to associate this user with.
|
473
473
|
* `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
|
474
474
|
* `password` (string): User password.
|
@@ -121,7 +121,7 @@ module Files
|
|
121
121
|
# Parameters:
|
122
122
|
# group_id - int64 - Group ID
|
123
123
|
# path - string - Folder path
|
124
|
-
# permission - string - Permission type. Can be `admin`, `full`, `readonly`, `writeonly`, `
|
124
|
+
# permission - string - Permission type. Can be `admin`, `full`, `readonly`, `writeonly`, `list`, or `history`
|
125
125
|
# recursive - boolean - Apply to subfolders recursively?
|
126
126
|
# user_id - int64 - User ID. Provide `username` or `user_id`
|
127
127
|
# username - string - User username. Provide `username` or `user_id`
|
@@ -437,7 +437,7 @@ module Files
|
|
437
437
|
@attributes[:change_password_confirmation] = value
|
438
438
|
end
|
439
439
|
|
440
|
-
# string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `
|
440
|
+
# string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
441
441
|
def grant_permission
|
442
442
|
@attributes[:grant_permission]
|
443
443
|
end
|
@@ -521,7 +521,7 @@ module Files
|
|
521
521
|
# change_password - string - Used for changing a password on an existing user.
|
522
522
|
# change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
523
523
|
# email - string - User's email.
|
524
|
-
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `
|
524
|
+
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
525
525
|
# group_id - int64 - Group ID to associate this user with.
|
526
526
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
527
527
|
# password - string - User password.
|
@@ -663,7 +663,7 @@ module Files
|
|
663
663
|
# change_password - string - Used for changing a password on an existing user.
|
664
664
|
# change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
665
665
|
# email - string - User's email.
|
666
|
-
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `
|
666
|
+
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
667
667
|
# group_id - int64 - Group ID to associate this user with.
|
668
668
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
669
669
|
# password - string - User password.
|
@@ -765,7 +765,7 @@ module Files
|
|
765
765
|
# change_password - string - Used for changing a password on an existing user.
|
766
766
|
# change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
767
767
|
# email - string - User's email.
|
768
|
-
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `
|
768
|
+
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
769
769
|
# group_id - int64 - Group ID to associate this user with.
|
770
770
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
771
771
|
# password - string - User password.
|
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.82
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|