Skip to content

Commit bdbedc9

Browse files
committed
Merge branch 'user-guide-umg' into user-guide
2 parents 3b57a11 + deeebc1 commit bdbedc9

File tree

3 files changed

+109
-22
lines changed

3 files changed

+109
-22
lines changed

content/en/success-guide/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ url: '/en/success-guide/'
66
bookFlatSection: true
77
---
88

9-
> Version 2.10.0, released 2024-08-22
9+
> Version 2.11.0, released 2024-12-12
1010
1111
This document walks you through the steps needed to understand
1212
and setup the User Sync Tool.

content/en/user-manual/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ bookFlatSection: true
88

99
# Adobe User Sync Tool
1010

11-
> Version 2.10.0, released 2024-08-22
11+
> Version 2.11.0, released 2024-12-12
1212
1313
## Introduction
1414

content/en/user-manual/sign_sync.md

Lines changed: 107 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ account and can also manage Sign Enterprise users.
2828
* User deactivation
2929
* Manage groups and admin role status of Sign Enterprise users
3030
* Manage primary user groups
31+
* Supports users in multiple groups (UMG)
3132
* Manage account admin status
32-
* Manage group admin status
33+
* Manage group admin status (with UMG support)
3334
* Sign-only user management (similar to Adobe-only user management)
3435

3536
## Using Sign Sync
@@ -126,26 +127,40 @@ identity_source:
126127
user_sync:
127128
sign_only_limit: 100
128129
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
134131

135132
## User management group/role mappings
136133
user_management:
137134
- 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
141138
- directory_group: Sign Users 1 Admins
142139
sign_group: Group 1
143-
group_admin: True
144-
account_admin: False
140+
admin_groups:
141+
- Group 1
145142
- directory_group: Sign Admins
146143
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
149164

150165
## Logging options
151166
logging:
@@ -159,7 +174,6 @@ logging:
159174
invocation_defaults:
160175
users: mapped
161176
test_mode: False
162-
163177
```
164178
165179
#### A Closer Look
@@ -209,6 +223,7 @@ Define general sync behavior.
209223
user_sync:
210224
sign_only_limit: 100
211225
sign_only_user_action: reset
226+
umg: False
212227
```
213228

214229
* `sign_only_limit` - similar to `max_adobe_only_users` in
@@ -225,9 +240,17 @@ user_sync:
225240
| `exclude` | Take no action on Sign-only users |
226241
| `remove_groups` | Reset user to Default Group, but do not modify admin roles |
227242
| `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.
228246

229247
**`cache`**
230248

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+
231254
User, Group and Group Assignment data retrieved from the Sign API is cached
232255
locally on the filesystem. This ensures the sync tool can manage users and
233256
groups more quickly while the cache is fresh.
@@ -265,15 +288,11 @@ user_management:
265288
- directory_group: Sign Users 1
266289
sign_group: Group 1
267290
group_admin: False
268-
account_admin: False
291+
account_admin: False #deprecated - see "account_admin_groups" documentation
269292
- directory_group: Sign Users 1 Admins
270293
sign_group: Group 1
271-
group_admin: True
272-
account_admin: False
273294
- directory_group: Sign Admins
274295
sign_group:
275-
group_admin: False
276-
account_admin: True
277296
```
278297

279298
* `directory_group` - name of group from identity source. Users belonging to
@@ -284,7 +303,75 @@ user_management:
284303
that this applies even if a user isn't targeted to a group assignment in any
285304
given rule. In that case, the user will get group admin status on their
286305
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+
```
288375

289376
**`logging`**
290377

0 commit comments

Comments
 (0)