files.com 1.1.606 → 1.1.608
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/Gemfile.lock +1 -1
- data/_VERSION +1 -1
- data/docs/group.md +8 -0
- data/lib/files.com/models/group.rb +15 -0
- 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: c25b32db4eda699fe985b1e2813a8a3ab7349c7bc5904e581f70097237b2dd7c
|
|
4
|
+
data.tar.gz: ab864a068db446cd240d2def96eaa7e508e36721d953ac76f9ab456a384f1717
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 680d805644fe60c4c33454b15297fd576d32506d96e787535d7e48d845a2ace7b927b8a27f09f9260a63e41ead3f67d47caf5dad9d384a7b698cc88a66cb3a2b
|
|
7
|
+
data.tar.gz: b5da37a9cc0a8a0f582266c3f50ed58c7e8b4e07bfee2fc75041879a5a4bf7cac34e7cd940ca049622c57321e5b55d82b00915f4222437ec6ad960376891d384
|
data/Gemfile.lock
CHANGED
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.608
|
data/docs/group.md
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"sftp_permission": true,
|
|
16
16
|
"dav_permission": true,
|
|
17
17
|
"restapi_permission": true,
|
|
18
|
+
"desktop_configuration_profile_id": 1,
|
|
18
19
|
"site_id": 1,
|
|
19
20
|
"workspace_id": 1
|
|
20
21
|
}
|
|
@@ -31,6 +32,7 @@
|
|
|
31
32
|
* `sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
32
33
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
33
34
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
35
|
+
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
34
36
|
* `site_id` (int64): Site ID
|
|
35
37
|
* `workspace_id` (int64): Workspace ID
|
|
36
38
|
|
|
@@ -82,6 +84,7 @@ Files::Group.create(
|
|
|
82
84
|
sftp_permission: true,
|
|
83
85
|
dav_permission: true,
|
|
84
86
|
restapi_permission: true,
|
|
87
|
+
desktop_configuration_profile_id: 1,
|
|
85
88
|
allowed_ips: "10.0.0.0/8\n127.0.0.1",
|
|
86
89
|
name: "name",
|
|
87
90
|
workspace_id: 0
|
|
@@ -97,6 +100,7 @@ Files::Group.create(
|
|
|
97
100
|
* `sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
98
101
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
99
102
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
103
|
+
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
100
104
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
|
101
105
|
* `name` (string): Required - Group name.
|
|
102
106
|
* `workspace_id` (int64): Workspace ID
|
|
@@ -115,6 +119,7 @@ Files::Group.update(id,
|
|
|
115
119
|
sftp_permission: true,
|
|
116
120
|
dav_permission: true,
|
|
117
121
|
restapi_permission: true,
|
|
122
|
+
desktop_configuration_profile_id: 1,
|
|
118
123
|
allowed_ips: "10.0.0.0/8\n127.0.0.1",
|
|
119
124
|
name: "owners"
|
|
120
125
|
)
|
|
@@ -130,6 +135,7 @@ Files::Group.update(id,
|
|
|
130
135
|
* `sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
131
136
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
132
137
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
138
|
+
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
133
139
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
|
134
140
|
* `name` (string): Group name.
|
|
135
141
|
|
|
@@ -162,6 +168,7 @@ group.update(
|
|
|
162
168
|
sftp_permission: true,
|
|
163
169
|
dav_permission: true,
|
|
164
170
|
restapi_permission: true,
|
|
171
|
+
desktop_configuration_profile_id: 1,
|
|
165
172
|
allowed_ips: "10.0.0.0/8\n127.0.0.1",
|
|
166
173
|
name: "owners"
|
|
167
174
|
)
|
|
@@ -177,6 +184,7 @@ group.update(
|
|
|
177
184
|
* `sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
178
185
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
179
186
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
187
|
+
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
180
188
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
|
181
189
|
* `name` (string): Group name.
|
|
182
190
|
|
|
@@ -108,6 +108,15 @@ module Files
|
|
|
108
108
|
@attributes[:restapi_permission] = value
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
+
# int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
112
|
+
def desktop_configuration_profile_id
|
|
113
|
+
@attributes[:desktop_configuration_profile_id]
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
def desktop_configuration_profile_id=(value)
|
|
117
|
+
@attributes[:desktop_configuration_profile_id] = value
|
|
118
|
+
end
|
|
119
|
+
|
|
111
120
|
# int64 - Site ID
|
|
112
121
|
def site_id
|
|
113
122
|
@attributes[:site_id]
|
|
@@ -134,6 +143,7 @@ module Files
|
|
|
134
143
|
# sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
135
144
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
136
145
|
# restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
146
|
+
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
137
147
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
138
148
|
# name - string - Group name.
|
|
139
149
|
def update(params = {})
|
|
@@ -144,6 +154,7 @@ module Files
|
|
|
144
154
|
raise InvalidParameterError.new("Bad parameter: notes must be an String") if params[:notes] and !params[:notes].is_a?(String)
|
|
145
155
|
raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if params[:user_ids] and !params[:user_ids].is_a?(String)
|
|
146
156
|
raise InvalidParameterError.new("Bad parameter: admin_ids must be an String") if params[:admin_ids] and !params[:admin_ids].is_a?(String)
|
|
157
|
+
raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if params[:desktop_configuration_profile_id] and !params[:desktop_configuration_profile_id].is_a?(Integer)
|
|
147
158
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
|
148
159
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
149
160
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
@@ -226,6 +237,7 @@ module Files
|
|
|
226
237
|
# sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
227
238
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
228
239
|
# restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
240
|
+
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
229
241
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
230
242
|
# name (required) - string - Group name.
|
|
231
243
|
# workspace_id - int64 - Workspace ID
|
|
@@ -233,6 +245,7 @@ module Files
|
|
|
233
245
|
raise InvalidParameterError.new("Bad parameter: notes must be an String") if params[:notes] and !params[:notes].is_a?(String)
|
|
234
246
|
raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if params[:user_ids] and !params[:user_ids].is_a?(String)
|
|
235
247
|
raise InvalidParameterError.new("Bad parameter: admin_ids must be an String") if params[:admin_ids] and !params[:admin_ids].is_a?(String)
|
|
248
|
+
raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if params[:desktop_configuration_profile_id] and !params[:desktop_configuration_profile_id].is_a?(Integer)
|
|
236
249
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
|
237
250
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
238
251
|
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
@@ -250,6 +263,7 @@ module Files
|
|
|
250
263
|
# sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
251
264
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
252
265
|
# restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
266
|
+
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
253
267
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
254
268
|
# name - string - Group name.
|
|
255
269
|
def self.update(id, params = {}, options = {})
|
|
@@ -259,6 +273,7 @@ module Files
|
|
|
259
273
|
raise InvalidParameterError.new("Bad parameter: notes must be an String") if params[:notes] and !params[:notes].is_a?(String)
|
|
260
274
|
raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if params[:user_ids] and !params[:user_ids].is_a?(String)
|
|
261
275
|
raise InvalidParameterError.new("Bad parameter: admin_ids must be an String") if params[:admin_ids] and !params[:admin_ids].is_a?(String)
|
|
276
|
+
raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if params[:desktop_configuration_profile_id] and !params[:desktop_configuration_profile_id].is_a?(Integer)
|
|
262
277
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
|
263
278
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
264
279
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
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.608
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|