midPoint meta-roles and applicable policies

midPoint meta-roles let you attach one set of policy rules to every role in a class, instead of editing roles one by one. This page explains how applicable policies work, how to design them, and what to confirm before you rely on them.

On this page

How midPoint meta-roles apply one rule set to whole classes of roles

When many roles need the same approval, certification, separation of duties or information classification rules, maintaining those rules role by role is where errors creep in. midPoint addresses this by grouping policy statements into applicable policies, which are created as meta-roles and can be applied to roles and other objects. The practical decision is which rule sets belong together as one unit, and which roles should receive them. Each applicable policy then becomes a single place to change a rule that would otherwise be repeated across dozens of role definitions. Before building any of them, confirm in your own test environment exactly which policy statements the meta-role carries and how they behave when a role is assigned it, since the documented fact covers the grouping itself rather than every detail of evaluation.

Teams usually need this structure when the role catalog is large, when application roles and business roles must follow consistent controls, or when auditors ask for evidence that the same rule applies to every role in a class. In those settings, a meta-role gives one owner a single definition to review, and a change to a control can be traced to one object. A simpler setup is usually enough when the environment has a small number of roles, when each role has clearly unique controls, or when the organization has not yet agreed on the classes it wants to govern. In that case, adding meta-roles early can create indirection without benefit. A sensible first step is to list the rules your reviewers repeat most often and count which roles they touch, then decide whether those rules form a class worth grouping.

How a meta-role carries policy statements to the roles it is applied to

The diagram starts with individual policy statements such as approval, certification, separation of duties and classification rules. These are grouped into one applicable policy that is created as a meta-role. An administrator then decides which roles receive that meta-role, and the policies take effect on every user who holds one of those roles. Check the assignment decision first, because a meta-role applied too broadly changes access for every holder of the affected roles.

Policy statements flow through a meta-role to the roles and users it governs.

How to group policy statements into manageable units

The main decision in grouping midPoint policy statements is where to draw the boundaries between applicable policies, because each boundary determines what a reviewer must read to understand one rule and what a change can affect. Grouping by control theme is the practical default: one meta-role for approval and certification settings, one for segregation of duties, and one for information classification. Each group then maps to one reason a rule exists, so a change to a certification interval or a SoD rule can be reviewed on its own, traced to a single requirement, and rolled back without touching unrelated access. Start from your own control inventory rather than a generic template: list each control your policies must satisfy, note which roles and objects it applies to, and group the statements that share both a purpose and a set of targets. Do not treat the number of groups as a target. Where two statements always change together and always apply to the same roles, they probably belong in one group; where a statement applies to a different population or has a different owner, it probably does not.

Each group needs a named owner who can answer for its intent, not only its syntax. The owner of the SoD group is usually the risk or compliance function that defined the conflict rules, while the owner of approval and certification settings is typically the identity governance team that operates the campaigns and approval flows. Record the owner, the control it implements, and the roles it applies to in the meta-role's description or in your own change register, so that a reviewer can see who must agree before a change is made. Confirm these ownership splits with your own control owners before you configure anything, because the right split depends on how your organization assigns accountability for each control.

Reviewing a meta-role differs from reviewing an ordinary role in one important way: its effect is indirect. An ordinary role review asks whether a bundle of entitlements is right for a population, and the reviewer can see the assignments directly. A meta-role review asks what every role and object it applies to will now receive, including roles that do not yet exist. Reviewers should therefore check the applicability conditions, the inherited settings and a sample of affected roles, and they should preview the effect of the change before it is approved. Keep the change history for each group separate so that an auditor can follow one control from its requirement to its configuration. Ask your implementation partner or Evolveum's documentation to confirm how your midPoint version previews and records meta-role changes, since this behavior determines how much of the review can be evidenced automatically.

Which meta-role pattern fits each control

This table compares four control themes that teams commonly express as meta-roles in midPoint, showing what each meta-role carries, which roles it usually touches, and what to confirm first. Read each row as a starting pattern, not a finished design. The main takeaway is that a meta-role should carry one control theme at a time, and every rule must be checked against your own policies and the midPoint version you run.

Control themeWhat the meta-role carriesTypical roles it is applied toWhat to confirm before rollout
Approval and certification settingsApproval workflow references, approver assignment rules and certification campaign tags that apply to every role in the classBusiness roles and application roles that grant sensitive or high-impact entitlementsWhich approvers apply to each role class, whether approval outcomes are recorded for auditors, and how the rule behaves in your midPoint version
Segregation of dutiesConflict definitions expressed as policy rules that flag role pairs or role combinations a user should not hold togetherRoles grouped by financial, operational or system function, such as payment initiation and payment approvalThe conflict matrix signed off by control owners, whether checks run at request time, assignment time or during certification, and how exceptions are recorded
Information classificationSensitivity label and handling requirements that drive approval depth, certification frequency and review ownershipRoles that reach restricted datasets, personal data stores or privileged administrative systemsThe classification scheme used by your data owners, which roles inherit which label, and whether the label is visible to approvers and reviewers
Grouping policy statements for role catalogsA shared bundle of naming, ownership and lifecycle rules, such as requiring an owner and a documented descriptionWhole families of roles that share a business domain, such as finance or HR application rolesWhich rules belong in the bundle rather than in individual roles, who maintains the bundle, and how changes to it are tested before they affect existing roles

How to set up meta-roles and applicable policies

This sequence takes a set of organizational controls and turns them into midPoint applicable policies, built as meta-roles, tested on a small set of roles and checked for their effect on assignments and approvals before they reach production.

  1. Inventory controls and the roles they apply to

    Start by listing every rule you want applied to whole classes of roles, such as approval requirements, certification settings, segregation of duties pairs, and information classification levels. For each control, record the owner, the source policy document, and the role families it should cover, using your current role catalog as the reference. Collect this in a single register that the security, compliance and identity teams all sign off. The step is done when every control maps to at least one role family and each unmapped role is either excluded deliberately or flagged for review.

  2. Define policy groups and named owners

    Group the controls from the inventory into policy groups that can be managed as units, for example one group for access approval rules, one for certification settings, and one for segregation of duties. Assign a named owner to each group who approves changes to it. Decide which role archetypes or role families each group applies to, so that later meta-roles do not overlap. The output is a short policy catalog with group name, owner, scope and change approver. Confirm with your own governance team how changes to this catalog will be approved before any meta-role is built.

  3. Build each applicable policy as a meta-role

    In a non-production midPoint environment, create one meta-role per applicable policy using the release your team has confirmed as in use (check the midPoint release notes for the version and its support dates). Add the policy statements, such as approval settings, certification references or exclusion rules, to the meta-role, and give it a name that matches the policy catalog entry. Keep the meta-role's description aligned with the owner and scope recorded in the catalog. The step is complete when each meta-role exists, has a single owner recorded, and its contents match the catalog entry exactly.

  4. Apply meta-roles to a small test set of roles

    Choose a small, representative set of test roles that covers each policy group, including at least one role that should be excluded. Assign the relevant meta-role to each test role in the non-production environment and run the recalculation or preview available in your release so you can see the effect before anything is saved. Record which roles changed and which did not. The check is complete when the preview output matches what the policy catalog says should happen for each test role.

  5. Check effects on assignments and approvals

    Review the resulting assignments on a set of sample users who hold the test roles, comparing them against the expected result you wrote down in the catalog. Trigger a test access request for a role under the new policy and confirm that the approval routing, approvers and certification scope are the ones the policy defines. Check for unintended side effects, such as duplicated assignments or approval steps applied twice. Document each mismatch and the fix applied. The step is done when the sample results match the expected results with no open discrepancies.

  6. Prepare a rollback path before production

    Before promoting any meta-role, record the current state of the roles it will touch and document how to remove or disable the meta-role assignment and restore the previous settings. Test the rollback in the non-production environment on at least one test role, and confirm that the assignments return to their earlier state. Agree who can trigger the rollback and how the owner is notified. The output is a written rollback procedure signed off by the policy owner, with a tested example.

  7. Promote policies in controlled stages

    Apply the approved meta-roles to production in the order defined in the catalog, starting with the policy group with the lowest impact and watching the assignments after each group. Keep the change record linked to the owner's approval and the test evidence from earlier steps. After each stage, repeat the sample user review on production data and confirm that no unexpected assignments or approval changes appeared. The sequence is complete when every policy group is live, each has an owner and test evidence on file, and the rollback procedure has been retested against the production configuration.

Security and operational risks of broad meta-roles

A meta-role applies its policies to every role and object it touches, so one edit can change access across the whole model. The cards below cover the failure modes to plan for and the control response to each. Confirm how your midPoint version scopes and logs policy changes before you rely on any of them.

One change reaches many roles

A meta-role that applies to a large group of roles turns a single edit into a change across all of them. An altered inducement or approval rule can grant or remove access for users who were never part of the review. Before saving, list which roles and assignments the meta-role governs and who depends on them. Control response: require change review for any edit to a shared meta-role, with the affected role list attached to the review.

Unintended privilege from loose scope

A meta-role applied more widely than its purpose can add entitlements to roles that should never receive them. The risk is highest when the scope relies on broad conditions rather than explicit selection. Illustratively, a rule meant for contractor roles could also match an employee role with the same naming pattern. Control response: scope each application to named role groups, test the match against a sample of roles, and record who approved the scope.

Drift from actual role use

Over time, roles may pick up local exceptions while the meta-role definition stays unchanged, so the policy no longer describes what is deployed. Reviewers then approve access against a rule that does not match reality. Check periodically whether roles that share a meta-role still follow its intended pattern, and whether new roles were created outside the meta-role. Control response: schedule a periodic verification of meta-role coverage and close exceptions by changing the meta-role or the role.

Weak change control on policy objects

Policy objects such as meta-roles and their approval or certification settings are configuration, and they often change outside the normal review path. A quick edit made during an incident can persist long after the incident closes. Keep policy definitions in version control or an equivalent record, and compare the live object against the approved version. Control response: route policy object changes through the same review and promotion path used for code and configuration.

Administrative rights to edit policy

Anyone who can edit a meta-role can change the access rules for every role it governs, which makes policy editing a higher privilege than assigning a single role. Many teams grant this right to a broad administrator group without noticing. Review which accounts can modify meta-roles and approval settings, and separate that right from day-to-day role assignment. Control response: restrict policy editing to a small named group and review that group on a fixed schedule.

midPoint features

Audit evidence of which rule applied

An auditor may ask which policy governed a given access grant on a given date. If the meta-role changed since then, the current definition alone cannot answer the question. Confirm what history and audit records your midPoint deployment keeps for policy objects and assignments, and whether they show the rule version in effect at the time. Control response: keep dated copies of approved policy versions and tie each review decision to the version it relied on.

Testing meta-role changes before they reach live roles

Test a meta-role change against a fixed set of representative roles and users before it touches production, and record what you expect it to do to each of them. Because a meta-role applies its policy statements to every role it is attached to, a single edit can change access in dozens of places at once. The safest pattern is to build a small staging copy of the affected role class, apply the changed meta-role there, and compare the resulting assignments, inducements and policy outcomes with the expected results. Choose the test set deliberately: include at least one role from each sub-type the meta-role covers, one role with an existing exception, and one user who holds the role through a different path, such as an organizational assignment. Confirm with your team which preview or simulation functions your midPoint version provides and how they behave with the policy rules you use, since those capabilities differ between releases and must be verified in your own environment rather than assumed.

The client's team carries most of the decision work. Role owners should confirm which roles are representative and state the access they must keep. Approvers should agree in advance which changes to approval or certification settings are acceptable without a fresh review, and which need one. Audit contacts should review the expected-effect record before the change is scheduled, because that record is the evidence that the change was understood and approved. Ask for a short written template covering the meta-role name and version, the test roles and users, the expected added and removed access, the approver, and the rollback step. Ask whether your change process requires this record for every meta-role edit or only for changes that touch separation of duties, classification or certification settings.

A partner typically prepares the staging copy, builds the test set from your role inventory, runs the comparison, documents the results in the agreed template and supports the retest after any correction. The partner can also check that the rollback path works, since reverting a meta-role edit can itself change assignments. The division of effort depends on how much of the test set your team can supply and how many meta-roles are in scope, so ask for the test plan and its assumptions in the written scope before work starts.

Limits to confirm before you rely on meta-roles

Meta-roles only hold if the release, connectors and settings you plan to use behave as the design assumes. The cards below list what to confirm in your own environment before you build rules on top of applicable policies, and what evidence you will need when auditors ask how those rules applied.

Release and runtime versions

Confirm which midPoint release fits your support window and which Java and PostgreSQL versions it requires. midPoint 4.8 is a long-term support release supported until 17 October 2028, while 4.10 is a feature release supported until 26 November 2027. midPoint recommends Java 25 for 4.11 and later, and Java 21 for 4.10 and older. Check these against your platform standards before the meta-role design is frozen.

midPoint releases

Connector behavior for meta-roles

A meta-role that adds a group or entitlement behaves differently on each target. Confirm, for each connector in scope, whether the resource supports the attribute, association or entitlement the meta-role writes, and whether its status in the catalog is supported, community or experimental. Test removal as well as assignment, because a rule that grants access may not revoke it cleanly on every target.

Evolveum connector docs

Approval and certification settings

Confirm that every approval, escalation and certification setting you intend to apply through a meta-role exists in the release you deploy, and that it can be set at the applicable policy level rather than only on individual roles. Run a test role carrying the full meta-role stack in a non-production environment and inspect the effective settings. Document any setting that must still be configured by hand on each object.

Interaction with archetypes and assignments

Applicable policies, archetypes and direct role assignments can all contribute settings to the same object. Confirm the precedence your release applies when two sources set the same value, and test objects that hold several archetypes or inherit roles through organizations. Unexpected overlap is the most common reason a rule appears to apply in one place and not another.

Segregation of duties and classification coverage

Confirm which SoD and information classification rules a meta-role can express in your release, and which need a separate policy or a manual control. Check that the rules fire on roles added after the policy was created, not only on existing ones, and record the cases the rules cannot detect, such as access granted outside midPoint.

Audit evidence for the period

Decide how you will show that a rule was in effect on a given date. Confirm that changes to meta-roles and policies are logged, that the logs are retained for the audit period, and that you can reconstruct which policy version applied to a role at that time. Without this, a correct design may still be hard to prove to an assessor.

midPoint features

What do teams ask before building meta-roles with a partner?

What drives the cost of building meta-roles in midPoint?

The cost follows the amount of policy to design and verify, not the number of lines of configuration. The main drivers are the number of control themes (such as approvals, certification cadence, segregation of duties and information classification), the number of roles and role families the meta-roles must cover, the complexity of the target connectors that the policies touch, and how deep the testing goes. Each added control theme or role family adds design decisions, test cases and review time. Ask any partner to break the quote down by these drivers so you can see which ones you can reduce, for example by tightening the control inventory before work starts.

Is building meta-roles a one-time project or ongoing work?

It is both. The initial design phase covers the control inventory, the meta-role structure, the policy rules and the test plan, and it is a one-time cost. After go-live, changes recur: new applications, new approval routes, revised certification rules and midPoint upgrades. Each midPoint release line has its own support window, so plan upgrade testing against the policies you have built. Ask for a quote that separates the initial build from any retainer or change allowance for later work.

What must our team provide before a partner starts?

A partner needs decisions and evidence from your side more than tooling access. Prepare a control inventory that lists each rule you must enforce, the audit or policy source behind it, and the roles or systems it covers. Name role owners and the approvers for each role family, and state your audit requirements, including what evidence auditors will ask for. Provide read access to a non-production midPoint or a representative test environment. Missing owners and approvers are the most common reason meta-role design stalls.

Can our own identity team build meta-roles without a partner?

Yes, if your team has midPoint administration skills, Java and expression experience, and time to test policy changes against real role assignments. Many teams build the first meta-roles internally and then bring in a partner for a focused review, a control gap analysis or a difficult connector case. The main risk for an internal build is untested interaction between policies, such as an approval rule that silently blocks a certification campaign. Decide based on your team's capacity and the number of control themes you need in the first release.

How long does meta-role work take?

Duration depends on scope, not on a fixed figure. The timeline grows with the number of control themes, the number of role families, the number of connectors whose behavior the policies depend on, the number of approvers who must review the design, and the depth of testing before go-live. Ask for a written plan with milestones that map to the agreed scope, and ask what would extend it, such as late changes to the control inventory or unavailable approvers.

Does midPoint itself carry a license cost?

The midPoint code base is open source, so there is no license fee for the software itself. Evolveum states that every line of midPoint code is published under open source licenses and that midPoint has no enterprise edition. Evolveum sells Product Support and Platform Subscriptions, which are optional and priced by Evolveum. Its support page lists no prices, so request a quote from Evolveum if you want vendor support. Infrastructure, database hosting and the implementation work are separate costs.

What should a written quote for meta-role work include?

A useful quote lists the scope in control themes and role families, the deliverables such as the meta-role design, policy rules, test cases and runbook, the environments covered, and the testing depth. It should state the client responsibilities, the approvers and reviewers involved, the assumptions about connectors and existing role data, and the change process for scope updates. Separate one-time build costs from recurring support, upgrade and change work, and name any Evolveum subscription as a third party cost. Ask what is excluded so there are no gaps at handover.

How DeployOpen scopes and delivers midPoint meta-role work

DeployOpen plans, implements and hands over midPoint meta-roles and applicable policies inside your own infrastructure. We start from the rules your auditors, security team and role owners already expect, then encode them once against whole classes of roles so the model stays reviewable.

How we scope

  • Inventory the role classes, approval and certification rules, SoD conflicts and classification levels the meta-roles must cover.
  • Agree in writing which applicable policies, role families and target systems are in scope before any build work starts.
  • Engagements are fixed-scope, with deliverables and timelines set in the written scope. Ongoing support is available as a retainer.

How we build

  • Create meta-roles that carry approval, certification and classification settings, then apply them to test roles before production roles.
  • Test each policy rule with preview and negative cases, including SoD conflicts that should be blocked and roles that should be exempt.
  • Configure the midPoint environment on the platform you run, keeping meta-role definitions under version control for review.

How we hand over

  • Document each applicable policy, its target role class, its owner and the change process for adding or retiring a policy.
  • Provide a walkthrough for role owners and administrators on how policies apply to new roles and where exceptions are recorded.
  • Deliver evidence of configured controls that your compliance team can review. DeployOpen does not issue audit reports or certifications.

How we support

  • Review policy changes as midPoint releases and your role catalog grow, checking that existing meta-roles still behave as documented.
  • Retest SoD and approval rules after upgrades, connector changes or new target systems are added to the model.
  • Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing like the initial work.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.