Management Level dimension assembled from job-title patterns, and a consolidated job family that folds several title variations into a single attribute.
What you’ll learn
- Create a custom dimension for a grouping your IdP does not carry, such as a management level.
- Match users into attributes with string operators like
prefix,suffix, andcontains. - Reuse one attribute across many rulesets instead of repeating string-matching logic.
- Consolidate title variations and seniority levels into a single attribute.
Prerequisites
- A workspace with a completed Okta or Google Workspace integration sync.
- The
prvCLI authenticated to your workspace. - Familiarity with Policies & Rules and Condition Operators.
The IDs shown below (
drdim_…, dratr_…, and so on) are examples. Your records will have their own IDs. Where a command needs an ID you provide, it is written as an UPPERCASE_TOKEN that you replace with the real value from the previous step’s output.1. Build reusable attributes with operators
The string operators in Condition Operators —equals, prefix, suffix, contains, and the rest — let you build attributes for data your IdP does not carry directly. A common example is a management level: your directory may hold job titles but no field that says who is an executive, a vice president, a director, or a manager.
Create a Management Level dimension, then add an attribute for each level. Each attribute’s ruleset uses title-based string matching, with one rule per title pattern so that any pattern qualifies a user.
1
Create the dimension
Add a custom
Management Level dimension with attributes enabled.2
Add an attribute per level
Add an attribute for each level, then open each attribute’s ruleset to add its rules.
3
Add a rule per title pattern
Give each attribute one rule per pattern. Because any rule can match, listing several patterns widens the net without loosening any single match.Executive
title {equals} CEOtitle {equals} COOtitle {equals} CFOtitle {equals} CTOtitle {equals} CIOtitle {prefix} Executive Assistant
title {contains} Vice Presidenttitle {prefix} VPtitle {prefix} Senior VP
title {prefix} Directortitle {prefix} Sr Directortitle {prefix} Senior Directortitle {suffix} Director
title {prefix} Managertitle {prefix} Sr Managertitle {prefix} Senior Managertitle {suffix} Helpdesk Managertitle {suffix} Support Manager
2. Reuse an attribute across rulesets
Once the management-level attributes exist, use them as attribute conditions in any other ruleset instead of repeating the title-matching logic. For example:- A leadership Slack channel could use the
ExecutiveandVice Presidentattributes. - A Google Shared Drive for manager resources could use the
ManagerandDirectorattributes. - An all-hands calendar invite could use every management-level attribute.
3. Consolidate title variations
Directories accumulate variations that mean the same thing for access. ABackend Engineer title might exist at five levels — Junior, Intermediate, Senior, Staff, and Principal — that all need the same systems. Rather than adding all five to every downstream ruleset, consolidate them into one attribute and reference that.
1
Create the consolidated attribute
Add a
Backend Engineer attribute on the Title dimension. Create it by hand rather than renaming an imported title, so that import detection keeps matching the original values on the next sync.2
Point rules at the leveled attributes
On the new attribute’s ruleset, add a rule per leveled title using an attribute condition that references the existing
Junior, Intermediate, Senior, Staff, and Principal Backend Engineer attributes. Any one match qualifies the user.3
Retire the leveled titles when you are ready
The leveled and consolidated attributes can coexist while you migrate. Once nothing depends on the leveled ones, deprecate them. Downstream, you now add a single
Backend Engineer attribute wherever these engineers need access instead of listing every level.