@@ -28,8 +28,9 @@ account and can also manage Sign Enterprise users.
28
28
* User deactivation
29
29
* Manage groups and admin role status of Sign Enterprise users
30
30
* Manage primary user groups
31
+ * Supports users in multiple groups (UMG)
31
32
* Manage account admin status
32
- * Manage group admin status
33
+ * Manage group admin status (with UMG support)
33
34
* Sign-only user management (similar to Adobe-only user management)
34
35
35
36
## Using Sign Sync
@@ -126,26 +127,40 @@ identity_source:
126
127
user_sync :
127
128
sign_only_limit : 100
128
129
sign_only_user_action : reset
129
-
130
- # # Storage location of Sign data cache. This contains cached users, groups and user assignent info
131
- # # The cache will refresh after 24 hours
132
- cache :
133
- path : cache/sign
130
+ umg : True
134
131
135
132
# # User management group/role mappings
136
133
user_management :
137
134
- directory_group : Sign Users 1
138
- sign_group : Group 1
139
- group_admin : False
140
- account_admin : False
135
+ sign_group :
136
+ - Group 1
137
+ - Group 2
141
138
- directory_group : Sign Users 1 Admins
142
139
sign_group : Group 1
143
- group_admin : True
144
- account_admin : False
140
+ admin_groups :
141
+ - Group 1
145
142
- directory_group : Sign Admins
146
143
sign_group :
147
- group_admin : False
148
- account_admin : True
144
+
145
+ # # If user belongs to any of the follow directory groups, assign them
146
+ # # account admin privileges
147
+ account_admin_groups :
148
+ - Sign Admins 1
149
+ - Sign Admins 2
150
+
151
+ # # If Users in Muliple Groups (UMG feature) is enabled, then rules must
152
+ # # be specified to designate a primary group for each user
153
+ primary_group_rules :
154
+ # Sign_groups list can specify groups that aren't necessarily assigned
155
+ # the user in the sync tool
156
+ # Each rule is evaluated in order, so the first rule in the list that
157
+ # matches a given user will apply to that user
158
+ - sign_groups :
159
+ - Sign Group 1
160
+ - Sign Group 2
161
+ # assign the primary group only if the user is a member of all groups
162
+ # specified in sign_groups
163
+ primary_group : Sign Group 2
149
164
150
165
# # Logging options
151
166
logging :
@@ -159,7 +174,6 @@ logging:
159
174
invocation_defaults :
160
175
users : mapped
161
176
test_mode : False
162
-
163
177
` ` `
164
178
165
179
#### A Closer Look
@@ -209,6 +223,7 @@ Define general sync behavior.
209
223
user_sync:
210
224
sign_only_limit: 100
211
225
sign_only_user_action: reset
226
+ umg: False
212
227
` ` `
213
228
214
229
* `sign_only_limit` - similar to `max_adobe_only_users` in
@@ -225,9 +240,17 @@ user_sync:
225
240
| `exclude` | Take no action on Sign-only users |
226
241
| `remove_groups` | Reset user to Default Group, but do not modify admin roles |
227
242
| `remove_roles` | Remove admin roles, but do not change group membership |
243
+ * `umg` - enable this setting to manage multiple group memberships for users.
244
+ Requires that the users in multiple groups (UMG) setting be enabled for the
245
+ target Sign account.
228
246
229
247
**`cache`**
230
248
249
+ > **NOTE:** As of version v2.11.0, cache funtionality is disabled. The following
250
+ > information does not currently apply. We're leaving it in place in because the
251
+ > `cache` setting is still present in the configuration file and because the
252
+ > cache file is still written (but not used) when Sign Sync is executed.
253
+
231
254
User, Group and Group Assignment data retrieved from the Sign API is cached
232
255
locally on the filesystem. This ensures the sync tool can manage users and
233
256
groups more quickly while the cache is fresh.
@@ -265,15 +288,11 @@ user_management:
265
288
- directory_group: Sign Users 1
266
289
sign_group: Group 1
267
290
group_admin: False
268
- account_admin: False
291
+ account_admin: False #deprecated - see "account_admin_groups" documentation
269
292
- directory_group: Sign Users 1 Admins
270
293
sign_group: Group 1
271
- group_admin: True
272
- account_admin: False
273
294
- directory_group: Sign Admins
274
295
sign_group:
275
- group_admin: False
276
- account_admin: True
277
296
` ` `
278
297
279
298
* `directory_group` - name of group from identity source. Users belonging to
@@ -284,7 +303,75 @@ user_management:
284
303
that this applies even if a user isn't targeted to a group assignment in any
285
304
given rule. In that case, the user will get group admin status on their
286
305
current primary group.
287
- * `account_admin` - enable account admin privileges for users.
306
+
307
+ **Note:** If UMG is enabled, and this option is true, then `admin_groups` must
308
+ also be specified.
309
+ * `admin_groups` - If UMG is enabled and `group_admin` is true, this option
310
+ designates the groups for which the user is granted admin status.
311
+ * `account_admin` - **Deprecated - see `account_admin_groups` documentation
312
+ below**
313
+
314
+ **`account_admin_groups`**
315
+
316
+ The `account_admin_groups` configuration replaces the old `account_admin`
317
+ setting that was part of the group mapping scheme. It specifies a simple list of
318
+ directory groups that confer account admin status on a user. If a user belongs
319
+ to one or more directory groups in the list, the user will be made an account
320
+ admin.
321
+
322
+ Example :
323
+
324
+ ` ` ` yaml
325
+ account_admin_groups:
326
+ - Sign Admins 1
327
+ - Sign Admins 2
328
+ ` ` `
329
+
330
+ **`primary_group_rules`**
331
+
332
+ For accounts with users in multiple groups (UMG) enabled, it is necessary to
333
+ designate the primary group of a given user. The primary group impacts a number
334
+ of settings for the user.
335
+
336
+ ` primary_group_rules` configures the primary group that will be assigned a user
337
+ for a given set of Sign groups. Note that unlike the group mapping rules and the
338
+ ` account_admin_group` setting, primary group rules are evaluated after a user's
339
+ target groups are assigned during sync. This includes all of a user's Sign
340
+ groups, even those that may not have been assigned during user sync.
341
+
342
+ The `primary_group_rules` setting is a list of key/value pairs consisting of the
343
+ following options. The order of this list defines precedence in cases where more
344
+ than one rule may apply to a given user. The first rule in the list that applies
345
+ to a given user will define that user's primary group.
346
+
347
+ * `sign_groups` - list of sign groups that a user must belong to in order to be
348
+ assigned the corresponding primary group. The user must belong to **all**
349
+ groups in this list in order for this rule to apply.
350
+ * `primary_group` - the name of the primary group to assign the user if this
351
+ rule applies
352
+
353
+ **Notes:**
354
+
355
+ * If no rules apply to a user, the sync tool will raise an error and the user
356
+ will not be synced.
357
+ * If a user's primary group is not assigned the user, the tool will issue a
358
+ warning and the primary group will not be assigned. Assignment of the group
359
+ itself must be done in the group mappings. The `primary_group_rules` setting
360
+ only impacts which assigned group will be designated as the primary group.
361
+
362
+ Example :
363
+
364
+ ` ` ` yaml
365
+ primary_group_rules:
366
+ # sign_groups list can specify groups that aren't necessarily assigned
367
+ # the user in the sync tool
368
+ - sign_groups:
369
+ - Sign Group 1
370
+ - Sign Group 2
371
+ # assign the primary group only if the user is a member of all groups
372
+ # specified in sign_groups
373
+ primary_group: Sign Group 2
374
+ ` ` `
288
375
289
376
**`logging`**
290
377
0 commit comments