Info | ||
---|---|---|
| ||
Level: BASIC |
Problem
Context: complex operations on groups, groups are taken from Jira. The problem is to select users which are members of the reunion of 2 sets intersected with a third one (the sets may be either groups or roles).
You can imagine any other complex operation on sets of users. The following excerpt is from a real production system.
Solution
Use several SIL SIL™ routines: usersInGroups, arrayToSet, arrayUnion, arrayGetElement, arrayIntersect.
...