files.com 1.1.614 → 1.1.615
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/desktop_configuration_profile.md +11 -3
- data/lib/files.com/models/desktop_configuration_profile.rb +12 -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: '08a389272f6bcfa76465e87a6b5ad10f725f5fc15cb6a808efdf6430a4a25bfd'
|
|
4
|
+
data.tar.gz: 86773e32fb71727835ceebd0a90d5f5c8509147cf9dcb076d1eea09766f336de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2399198c4851849d440e4e69ddbc491041bd9143c7d9897c955c82725884acd38f94b0331a112418c0029fe7f66a921629653e9dfd6d60ad929a647c057c9749
|
|
7
|
+
data.tar.gz: 2309caab315de1ce3c18cb81a7d6dc2d53ff3cf48d5e7d21b9c369153b33492aff6caeb4d170ca85d8cb247d872644e4b82f842dbf098bc3dd00b8d0f4dab1c9
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.615
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"name": "North America Desktop Profile",
|
|
9
9
|
"workspace_id": 1,
|
|
10
10
|
"use_for_all_users": true,
|
|
11
|
+
"disable_drive_mounting": true,
|
|
11
12
|
"mount_mappings": {
|
|
12
13
|
"key": "example value"
|
|
13
14
|
}
|
|
@@ -18,6 +19,7 @@
|
|
|
18
19
|
* `name` (string): Profile name
|
|
19
20
|
* `workspace_id` (int64): Workspace ID
|
|
20
21
|
* `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
|
|
22
|
+
* `disable_drive_mounting` (boolean): Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
|
|
21
23
|
* `mount_mappings` (object): Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
|
|
22
24
|
|
|
23
25
|
|
|
@@ -59,7 +61,8 @@ Files::DesktopConfigurationProfile.create(
|
|
|
59
61
|
name: "North America Desktop Profile",
|
|
60
62
|
mount_mappings: {"key":"example value"},
|
|
61
63
|
workspace_id: 1,
|
|
62
|
-
use_for_all_users: false
|
|
64
|
+
use_for_all_users: false,
|
|
65
|
+
disable_drive_mounting: false
|
|
63
66
|
)
|
|
64
67
|
```
|
|
65
68
|
|
|
@@ -69,6 +72,7 @@ Files::DesktopConfigurationProfile.create(
|
|
|
69
72
|
* `mount_mappings` (object): Required - Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
|
|
70
73
|
* `workspace_id` (int64): Workspace ID
|
|
71
74
|
* `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
|
|
75
|
+
* `disable_drive_mounting` (boolean): Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
|
|
72
76
|
|
|
73
77
|
|
|
74
78
|
---
|
|
@@ -80,7 +84,8 @@ Files::DesktopConfigurationProfile.update(id,
|
|
|
80
84
|
name: "North America Desktop Profile",
|
|
81
85
|
workspace_id: 1,
|
|
82
86
|
mount_mappings: {"key":"example value"},
|
|
83
|
-
use_for_all_users: false
|
|
87
|
+
use_for_all_users: false,
|
|
88
|
+
disable_drive_mounting: false
|
|
84
89
|
)
|
|
85
90
|
```
|
|
86
91
|
|
|
@@ -91,6 +96,7 @@ Files::DesktopConfigurationProfile.update(id,
|
|
|
91
96
|
* `workspace_id` (int64): Workspace ID
|
|
92
97
|
* `mount_mappings` (object): Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
|
|
93
98
|
* `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
|
|
99
|
+
* `disable_drive_mounting` (boolean): Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
|
|
94
100
|
|
|
95
101
|
|
|
96
102
|
---
|
|
@@ -117,7 +123,8 @@ desktop_configuration_profile.update(
|
|
|
117
123
|
name: "North America Desktop Profile",
|
|
118
124
|
workspace_id: 1,
|
|
119
125
|
mount_mappings: {"key":"example value"},
|
|
120
|
-
use_for_all_users: false
|
|
126
|
+
use_for_all_users: false,
|
|
127
|
+
disable_drive_mounting: false
|
|
121
128
|
)
|
|
122
129
|
```
|
|
123
130
|
|
|
@@ -128,6 +135,7 @@ desktop_configuration_profile.update(
|
|
|
128
135
|
* `workspace_id` (int64): Workspace ID
|
|
129
136
|
* `mount_mappings` (object): Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
|
|
130
137
|
* `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
|
|
138
|
+
* `disable_drive_mounting` (boolean): Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
|
|
131
139
|
|
|
132
140
|
|
|
133
141
|
---
|
|
@@ -45,6 +45,15 @@ module Files
|
|
|
45
45
|
@attributes[:use_for_all_users] = value
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
# boolean - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
|
|
49
|
+
def disable_drive_mounting
|
|
50
|
+
@attributes[:disable_drive_mounting]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def disable_drive_mounting=(value)
|
|
54
|
+
@attributes[:disable_drive_mounting] = value
|
|
55
|
+
end
|
|
56
|
+
|
|
48
57
|
# object - Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
|
|
49
58
|
def mount_mappings
|
|
50
59
|
@attributes[:mount_mappings]
|
|
@@ -59,6 +68,7 @@ module Files
|
|
|
59
68
|
# workspace_id - int64 - Workspace ID
|
|
60
69
|
# mount_mappings - object - Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
|
|
61
70
|
# use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
|
|
71
|
+
# disable_drive_mounting - boolean - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
|
|
62
72
|
def update(params = {})
|
|
63
73
|
params ||= {}
|
|
64
74
|
params[:id] = @attributes[:id]
|
|
@@ -138,6 +148,7 @@ module Files
|
|
|
138
148
|
# mount_mappings (required) - object - Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
|
|
139
149
|
# workspace_id - int64 - Workspace ID
|
|
140
150
|
# use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
|
|
151
|
+
# disable_drive_mounting - boolean - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
|
|
141
152
|
def self.create(params = {}, options = {})
|
|
142
153
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
143
154
|
raise InvalidParameterError.new("Bad parameter: mount_mappings must be an Hash") if params[:mount_mappings] and !params[:mount_mappings].is_a?(Hash)
|
|
@@ -154,6 +165,7 @@ module Files
|
|
|
154
165
|
# workspace_id - int64 - Workspace ID
|
|
155
166
|
# mount_mappings - object - Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
|
|
156
167
|
# use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
|
|
168
|
+
# disable_drive_mounting - boolean - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
|
|
157
169
|
def self.update(id, params = {}, options = {})
|
|
158
170
|
params ||= {}
|
|
159
171
|
params[:id] = 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.615
|
|
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-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|