files.com 1.1.620 → 1.1.621
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/partner.md +24 -0
- data/docs/user_lifecycle_rule.md +8 -0
- data/lib/files.com/models/partner.rb +42 -0
- data/lib/files.com/models/user_lifecycle_rule.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: bb86e99a91ed94affab09f8054be848e7e490c25eebbf6467bb204a00586b1db
|
|
4
|
+
data.tar.gz: 1bfff0ba5b6afa49059bc33f9afa74b5e8eaf2fd2c8f32d679071f3893852894
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03fe08b3bdb8f311961eb404adf0ac8b39ae6143d009a48c7dbbb1c2449a4d1fe15eed523e858c2c7de12318bc09a45cd832be3cf1ae43e94c2309392147e908
|
|
7
|
+
data.tar.gz: 1529d62c92c75b12f9008f394f46d0f105bb5927353920e2144f2afb7ef4108ffd5a48cc3d15942737c3d6a7678387772bd4972e25a3dd73cbe57a861b6637e0
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.621
|
data/docs/partner.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"allow_credential_changes": true,
|
|
10
10
|
"allow_providing_gpg_keys": true,
|
|
11
11
|
"allow_user_creation": true,
|
|
12
|
+
"cc_emails_to_responsible_party": true,
|
|
12
13
|
"id": 1,
|
|
13
14
|
"workspace_id": 1,
|
|
14
15
|
"name": "Acme Corp",
|
|
@@ -18,6 +19,8 @@
|
|
|
18
19
|
2,
|
|
19
20
|
3
|
|
20
21
|
],
|
|
22
|
+
"responsible_group_id": 1,
|
|
23
|
+
"responsible_user_id": 1,
|
|
21
24
|
"root_folder": "/AcmeCorp",
|
|
22
25
|
"tags": "example",
|
|
23
26
|
"user_ids": [
|
|
@@ -33,11 +36,14 @@
|
|
|
33
36
|
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
34
37
|
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
35
38
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
39
|
+
* `cc_emails_to_responsible_party` (boolean): When `true`, emails sent to Partner users are copied to the responsible User or Group.
|
|
36
40
|
* `id` (int64): The unique ID of the Partner.
|
|
37
41
|
* `workspace_id` (int64): ID of the Workspace associated with this Partner.
|
|
38
42
|
* `name` (string): The name of the Partner.
|
|
39
43
|
* `notes` (string): Notes about this Partner.
|
|
40
44
|
* `partner_admin_ids` (array(int64)): Array of User IDs that are Partner Admins for this Partner.
|
|
45
|
+
* `responsible_group_id` (int64): ID of the Group responsible for this Partner.
|
|
46
|
+
* `responsible_user_id` (int64): ID of the User responsible for this Partner.
|
|
41
47
|
* `root_folder` (string): The root folder path for this Partner.
|
|
42
48
|
* `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
43
49
|
* `user_ids` (array(int64)): Array of User IDs that belong to this Partner.
|
|
@@ -83,7 +89,10 @@ Files::Partner.create(
|
|
|
83
89
|
allow_credential_changes: false,
|
|
84
90
|
allow_providing_gpg_keys: false,
|
|
85
91
|
allow_user_creation: false,
|
|
92
|
+
cc_emails_to_responsible_party: false,
|
|
86
93
|
notes: "This is a note about the partner.",
|
|
94
|
+
responsible_group_id: 1,
|
|
95
|
+
responsible_user_id: 1,
|
|
87
96
|
tags: "example",
|
|
88
97
|
name: "Acme Corp",
|
|
89
98
|
root_folder: "/AcmeCorp",
|
|
@@ -98,7 +107,10 @@ Files::Partner.create(
|
|
|
98
107
|
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
99
108
|
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
100
109
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
110
|
+
* `cc_emails_to_responsible_party` (boolean): When `true`, emails sent to Partner users are copied to the responsible User or Group.
|
|
101
111
|
* `notes` (string): Notes about this Partner.
|
|
112
|
+
* `responsible_group_id` (int64): ID of the Group responsible for this Partner.
|
|
113
|
+
* `responsible_user_id` (int64): ID of the User responsible for this Partner.
|
|
102
114
|
* `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
103
115
|
* `name` (string): Required - The name of the Partner.
|
|
104
116
|
* `root_folder` (string): Required - The root folder path for this Partner.
|
|
@@ -116,7 +128,10 @@ Files::Partner.update(id,
|
|
|
116
128
|
allow_credential_changes: false,
|
|
117
129
|
allow_providing_gpg_keys: false,
|
|
118
130
|
allow_user_creation: false,
|
|
131
|
+
cc_emails_to_responsible_party: false,
|
|
119
132
|
notes: "This is a note about the partner.",
|
|
133
|
+
responsible_group_id: 1,
|
|
134
|
+
responsible_user_id: 1,
|
|
120
135
|
tags: "example",
|
|
121
136
|
name: "Acme Corp",
|
|
122
137
|
root_folder: "/AcmeCorp"
|
|
@@ -131,7 +146,10 @@ Files::Partner.update(id,
|
|
|
131
146
|
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
132
147
|
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
133
148
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
149
|
+
* `cc_emails_to_responsible_party` (boolean): When `true`, emails sent to Partner users are copied to the responsible User or Group.
|
|
134
150
|
* `notes` (string): Notes about this Partner.
|
|
151
|
+
* `responsible_group_id` (int64): ID of the Group responsible for this Partner.
|
|
152
|
+
* `responsible_user_id` (int64): ID of the User responsible for this Partner.
|
|
135
153
|
* `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
136
154
|
* `name` (string): The name of the Partner.
|
|
137
155
|
* `root_folder` (string): The root folder path for this Partner.
|
|
@@ -163,7 +181,10 @@ partner.update(
|
|
|
163
181
|
allow_credential_changes: false,
|
|
164
182
|
allow_providing_gpg_keys: false,
|
|
165
183
|
allow_user_creation: false,
|
|
184
|
+
cc_emails_to_responsible_party: false,
|
|
166
185
|
notes: "This is a note about the partner.",
|
|
186
|
+
responsible_group_id: 1,
|
|
187
|
+
responsible_user_id: 1,
|
|
167
188
|
tags: "example",
|
|
168
189
|
name: "Acme Corp",
|
|
169
190
|
root_folder: "/AcmeCorp"
|
|
@@ -178,7 +199,10 @@ partner.update(
|
|
|
178
199
|
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
179
200
|
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
180
201
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
202
|
+
* `cc_emails_to_responsible_party` (boolean): When `true`, emails sent to Partner users are copied to the responsible User or Group.
|
|
181
203
|
* `notes` (string): Notes about this Partner.
|
|
204
|
+
* `responsible_group_id` (int64): ID of the Group responsible for this Partner.
|
|
205
|
+
* `responsible_user_id` (int64): ID of the User responsible for this Partner.
|
|
182
206
|
* `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
183
207
|
* `name` (string): The name of the Partner.
|
|
184
208
|
* `root_folder` (string): The root folder path for this Partner.
|
data/docs/user_lifecycle_rule.md
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"include_site_admins": true,
|
|
18
18
|
"apply_to_all_workspaces": true,
|
|
19
19
|
"name": "password specific rules",
|
|
20
|
+
"notify_users": true,
|
|
20
21
|
"partner_tag": "guest",
|
|
21
22
|
"site_id": 1,
|
|
22
23
|
"workspace_id": 12,
|
|
@@ -34,6 +35,7 @@
|
|
|
34
35
|
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
|
|
35
36
|
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
|
|
36
37
|
* `name` (string): User Lifecycle Rule name
|
|
38
|
+
* `notify_users` (boolean): If true, users will be emailed before the rule disables or deletes them.
|
|
37
39
|
* `partner_tag` (string): If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
38
40
|
* `site_id` (int64): Site ID
|
|
39
41
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
@@ -83,6 +85,7 @@ Files::UserLifecycleRule.create(
|
|
|
83
85
|
include_site_admins: true,
|
|
84
86
|
include_folder_admins: true,
|
|
85
87
|
name: "password specific rules",
|
|
88
|
+
notify_users: true,
|
|
86
89
|
partner_tag: "guest",
|
|
87
90
|
user_state: "inactive",
|
|
88
91
|
user_tag: "guest",
|
|
@@ -100,6 +103,7 @@ Files::UserLifecycleRule.create(
|
|
|
100
103
|
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
|
|
101
104
|
* `include_folder_admins` (boolean): If true, the rule will apply to folder admins.
|
|
102
105
|
* `name` (string): User Lifecycle Rule name
|
|
106
|
+
* `notify_users` (boolean): If true, users will be emailed before the rule disables or deletes them.
|
|
103
107
|
* `partner_tag` (string): If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
104
108
|
* `user_state` (string): State of the users to apply the rule to (inactive or disabled)
|
|
105
109
|
* `user_tag` (string): If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
@@ -119,6 +123,7 @@ Files::UserLifecycleRule.update(id,
|
|
|
119
123
|
include_site_admins: true,
|
|
120
124
|
include_folder_admins: true,
|
|
121
125
|
name: "password specific rules",
|
|
126
|
+
notify_users: true,
|
|
122
127
|
partner_tag: "guest",
|
|
123
128
|
user_state: "inactive",
|
|
124
129
|
user_tag: "guest",
|
|
@@ -137,6 +142,7 @@ Files::UserLifecycleRule.update(id,
|
|
|
137
142
|
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
|
|
138
143
|
* `include_folder_admins` (boolean): If true, the rule will apply to folder admins.
|
|
139
144
|
* `name` (string): User Lifecycle Rule name
|
|
145
|
+
* `notify_users` (boolean): If true, users will be emailed before the rule disables or deletes them.
|
|
140
146
|
* `partner_tag` (string): If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
141
147
|
* `user_state` (string): State of the users to apply the rule to (inactive or disabled)
|
|
142
148
|
* `user_tag` (string): If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
@@ -171,6 +177,7 @@ user_lifecycle_rule.update(
|
|
|
171
177
|
include_site_admins: true,
|
|
172
178
|
include_folder_admins: true,
|
|
173
179
|
name: "password specific rules",
|
|
180
|
+
notify_users: true,
|
|
174
181
|
partner_tag: "guest",
|
|
175
182
|
user_state: "inactive",
|
|
176
183
|
user_tag: "guest",
|
|
@@ -189,6 +196,7 @@ user_lifecycle_rule.update(
|
|
|
189
196
|
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
|
|
190
197
|
* `include_folder_admins` (boolean): If true, the rule will apply to folder admins.
|
|
191
198
|
* `name` (string): User Lifecycle Rule name
|
|
199
|
+
* `notify_users` (boolean): If true, users will be emailed before the rule disables or deletes them.
|
|
192
200
|
* `partner_tag` (string): If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
193
201
|
* `user_state` (string): State of the users to apply the rule to (inactive or disabled)
|
|
194
202
|
* `user_tag` (string): If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
@@ -54,6 +54,15 @@ module Files
|
|
|
54
54
|
@attributes[:allow_user_creation] = value
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
# boolean - When `true`, emails sent to Partner users are copied to the responsible User or Group.
|
|
58
|
+
def cc_emails_to_responsible_party
|
|
59
|
+
@attributes[:cc_emails_to_responsible_party]
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
def cc_emails_to_responsible_party=(value)
|
|
63
|
+
@attributes[:cc_emails_to_responsible_party] = value
|
|
64
|
+
end
|
|
65
|
+
|
|
57
66
|
# int64 - The unique ID of the Partner.
|
|
58
67
|
def id
|
|
59
68
|
@attributes[:id]
|
|
@@ -99,6 +108,24 @@ module Files
|
|
|
99
108
|
@attributes[:partner_admin_ids] = value
|
|
100
109
|
end
|
|
101
110
|
|
|
111
|
+
# int64 - ID of the Group responsible for this Partner.
|
|
112
|
+
def responsible_group_id
|
|
113
|
+
@attributes[:responsible_group_id]
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
def responsible_group_id=(value)
|
|
117
|
+
@attributes[:responsible_group_id] = value
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# int64 - ID of the User responsible for this Partner.
|
|
121
|
+
def responsible_user_id
|
|
122
|
+
@attributes[:responsible_user_id]
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
def responsible_user_id=(value)
|
|
126
|
+
@attributes[:responsible_user_id] = value
|
|
127
|
+
end
|
|
128
|
+
|
|
102
129
|
# string - The root folder path for this Partner.
|
|
103
130
|
def root_folder
|
|
104
131
|
@attributes[:root_folder]
|
|
@@ -132,7 +159,10 @@ module Files
|
|
|
132
159
|
# allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
133
160
|
# allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
|
|
134
161
|
# allow_user_creation - boolean - Allow Partner Admins to create users.
|
|
162
|
+
# cc_emails_to_responsible_party - boolean - When `true`, emails sent to Partner users are copied to the responsible User or Group.
|
|
135
163
|
# notes - string - Notes about this Partner.
|
|
164
|
+
# responsible_group_id - int64 - ID of the Group responsible for this Partner.
|
|
165
|
+
# responsible_user_id - int64 - ID of the User responsible for this Partner.
|
|
136
166
|
# tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
137
167
|
# name - string - The name of the Partner.
|
|
138
168
|
# root_folder - string - The root folder path for this Partner.
|
|
@@ -143,6 +173,8 @@ module Files
|
|
|
143
173
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
144
174
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
|
145
175
|
raise InvalidParameterError.new("Bad parameter: notes must be an String") if params[:notes] and !params[:notes].is_a?(String)
|
|
176
|
+
raise InvalidParameterError.new("Bad parameter: responsible_group_id must be an Integer") if params[:responsible_group_id] and !params[:responsible_group_id].is_a?(Integer)
|
|
177
|
+
raise InvalidParameterError.new("Bad parameter: responsible_user_id must be an Integer") if params[:responsible_user_id] and !params[:responsible_user_id].is_a?(Integer)
|
|
146
178
|
raise InvalidParameterError.new("Bad parameter: tags must be an String") if params[:tags] and !params[:tags].is_a?(String)
|
|
147
179
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
148
180
|
raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
|
|
@@ -219,7 +251,10 @@ module Files
|
|
|
219
251
|
# allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
220
252
|
# allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
|
|
221
253
|
# allow_user_creation - boolean - Allow Partner Admins to create users.
|
|
254
|
+
# cc_emails_to_responsible_party - boolean - When `true`, emails sent to Partner users are copied to the responsible User or Group.
|
|
222
255
|
# notes - string - Notes about this Partner.
|
|
256
|
+
# responsible_group_id - int64 - ID of the Group responsible for this Partner.
|
|
257
|
+
# responsible_user_id - int64 - ID of the User responsible for this Partner.
|
|
223
258
|
# tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
224
259
|
# name (required) - string - The name of the Partner.
|
|
225
260
|
# root_folder (required) - string - The root folder path for this Partner.
|
|
@@ -227,6 +262,8 @@ module Files
|
|
|
227
262
|
def self.create(params = {}, options = {})
|
|
228
263
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
|
229
264
|
raise InvalidParameterError.new("Bad parameter: notes must be an String") if params[:notes] and !params[:notes].is_a?(String)
|
|
265
|
+
raise InvalidParameterError.new("Bad parameter: responsible_group_id must be an Integer") if params[:responsible_group_id] and !params[:responsible_group_id].is_a?(Integer)
|
|
266
|
+
raise InvalidParameterError.new("Bad parameter: responsible_user_id must be an Integer") if params[:responsible_user_id] and !params[:responsible_user_id].is_a?(Integer)
|
|
230
267
|
raise InvalidParameterError.new("Bad parameter: tags must be an String") if params[:tags] and !params[:tags].is_a?(String)
|
|
231
268
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
232
269
|
raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
|
|
@@ -244,7 +281,10 @@ module Files
|
|
|
244
281
|
# allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
245
282
|
# allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
|
|
246
283
|
# allow_user_creation - boolean - Allow Partner Admins to create users.
|
|
284
|
+
# cc_emails_to_responsible_party - boolean - When `true`, emails sent to Partner users are copied to the responsible User or Group.
|
|
247
285
|
# notes - string - Notes about this Partner.
|
|
286
|
+
# responsible_group_id - int64 - ID of the Group responsible for this Partner.
|
|
287
|
+
# responsible_user_id - int64 - ID of the User responsible for this Partner.
|
|
248
288
|
# tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
249
289
|
# name - string - The name of the Partner.
|
|
250
290
|
# root_folder - string - The root folder path for this Partner.
|
|
@@ -254,6 +294,8 @@ module Files
|
|
|
254
294
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
255
295
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
|
256
296
|
raise InvalidParameterError.new("Bad parameter: notes must be an String") if params[:notes] and !params[:notes].is_a?(String)
|
|
297
|
+
raise InvalidParameterError.new("Bad parameter: responsible_group_id must be an Integer") if params[:responsible_group_id] and !params[:responsible_group_id].is_a?(Integer)
|
|
298
|
+
raise InvalidParameterError.new("Bad parameter: responsible_user_id must be an Integer") if params[:responsible_user_id] and !params[:responsible_user_id].is_a?(Integer)
|
|
257
299
|
raise InvalidParameterError.new("Bad parameter: tags must be an String") if params[:tags] and !params[:tags].is_a?(String)
|
|
258
300
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
259
301
|
raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
|
|
@@ -90,6 +90,15 @@ module Files
|
|
|
90
90
|
@attributes[:name] = value
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
+
# boolean - If true, users will be emailed before the rule disables or deletes them.
|
|
94
|
+
def notify_users
|
|
95
|
+
@attributes[:notify_users]
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
def notify_users=(value)
|
|
99
|
+
@attributes[:notify_users] = value
|
|
100
|
+
end
|
|
101
|
+
|
|
93
102
|
# string - If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
94
103
|
def partner_tag
|
|
95
104
|
@attributes[:partner_tag]
|
|
@@ -144,6 +153,7 @@ module Files
|
|
|
144
153
|
# include_site_admins - boolean - If true, the rule will apply to site admins.
|
|
145
154
|
# include_folder_admins - boolean - If true, the rule will apply to folder admins.
|
|
146
155
|
# name - string - User Lifecycle Rule name
|
|
156
|
+
# notify_users - boolean - If true, users will be emailed before the rule disables or deletes them.
|
|
147
157
|
# partner_tag - string - If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
148
158
|
# user_state - string - State of the users to apply the rule to (inactive or disabled)
|
|
149
159
|
# user_tag - string - If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
@@ -238,6 +248,7 @@ module Files
|
|
|
238
248
|
# include_site_admins - boolean - If true, the rule will apply to site admins.
|
|
239
249
|
# include_folder_admins - boolean - If true, the rule will apply to folder admins.
|
|
240
250
|
# name - string - User Lifecycle Rule name
|
|
251
|
+
# notify_users - boolean - If true, users will be emailed before the rule disables or deletes them.
|
|
241
252
|
# partner_tag - string - If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
242
253
|
# user_state - string - State of the users to apply the rule to (inactive or disabled)
|
|
243
254
|
# user_tag - string - If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
@@ -266,6 +277,7 @@ module Files
|
|
|
266
277
|
# include_site_admins - boolean - If true, the rule will apply to site admins.
|
|
267
278
|
# include_folder_admins - boolean - If true, the rule will apply to folder admins.
|
|
268
279
|
# name - string - User Lifecycle Rule name
|
|
280
|
+
# notify_users - boolean - If true, users will be emailed before the rule disables or deletes them.
|
|
269
281
|
# partner_tag - string - If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
270
282
|
# user_state - string - State of the users to apply the rule to (inactive or disabled)
|
|
271
283
|
# user_tag - string - If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
|
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.621
|
|
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-05-
|
|
11
|
+
date: 2026-05-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|