Why midPoint administrators should not run as Superuser
Least-privilege administration with midPoint authorizations means giving each administrator only the rights their job requires, enforced through midPoint's authorization model rather than through a shared all-powerful account. A team needs it when its midPoint administrators, service accounts or business owners currently act with full Superuser rights by default, and when the identity platform controls access to many target systems. In midPoint, the Superuser role carries the #all authorization, which allows every action on every object. That authorization is applied directly, so it is not evaluated against the scoped authorizations that the rest of the model uses. An account that holds #all can therefore change roles, mappings, resources and other administrators without any of the limits you have designed elsewhere.
Delegated administration is the midPoint feature built for the middle ground. According to Evolveum's current features page, it grants partial administration rights, and it is often used so that business people can manage business roles without holding system administration privileges. In practice, this means a business owner can approve or maintain the roles for their own area while the technical configuration stays with platform engineers. The design work is to list the functions people actually perform, map each one to an authorization or a role, and then test that a delegated administrator cannot reach objects outside their scope. Evolveum's authorization reference describes how these authorizations are constructed, and it is the document to check before writing any admin role.
Start with an inventory. Ask your midPoint team to list every account, including break-glass and integration accounts, that holds the Superuser role or #all directly, and record who can assign that role. Then decide, for each holder, whether the Superuser access is still needed or whether a scoped administrative role would cover the same work. Keep at least one emergency path under strict control, and confirm the exact recovery procedure for your version with Evolveum's documentation and your own test environment before you rely on it. Because the authorization model changes between releases, test any new admin role on the version you run in production, not only on the newest release.
Choosing an administration model by audience
Platform administrators keep midPoint itself running: the repository connection, the keystore, connector configuration, system-level settings, and upgrades. This is the group that most often justifies a small set of broad rights, because some operations, such as changing system configuration or touching the encryption setup, cannot be safely delegated to a narrow scope. Delegated administration is a poor fit here. The aim is to keep the number of holders small, named and reviewed, rather than to scope their rights down to objects.
- Break-glass accounts: Keep one or two named emergency accounts with broad rights, stored under a documented custody process and used only when normal administration fails.
- Separate day-to-day work: Administrators should perform routine object work from an ordinary account with scoped authorizations, and use the privileged account only for system tasks.
- Infrastructure access: Control who can reach the midPoint home directory, the database, and the Ninja tooling, since these bypass the GUI authorization model.
- Change records: Tie privileged operations to tickets or approvals so that every use of broad rights has a reason on file.
- Upgrade and recovery roles: Name the people responsible for upgrades and recovery work, and grant those rights only for the duration of the task where your process allows it.
Confirm with your team which operations require the system-level role in your midPoint version, and check the current authorization reference before writing your role list.
Business role owners are the people who understand what an access role means for the business, such as the finance manager who decides what the finance application roles contain. They need to maintain role content, approve or reject requests for their roles, and sometimes create assignments within their own area. They do not need to change connectors, mappings, or system settings. This is the audience where delegated administration usually fits best, because the rights can be limited to specific role objects, organizational units, or request types.
- Scoped role maintenance: Let owners edit only the roles they own, with the scope defined by the objects they are authorized over.
- Approval participation: Route approvals for their roles to them, and keep the approval chain separate from the people who requested the access.
- No technical configuration: Keep mappings, expressions, object templates, and connector settings out of their reach.
- Review of their own scope: Confirm periodically that each owner still holds the scope they need and nothing more.
- Ownership records: Record who owns each role in the model so that delegation follows the business structure and not personal memory.
Check with your team that owners can do their work through the delegated rights you define, and test that they cannot reach the objects outside their scope.
Help desk staff handle routine requests such as password resets, account unlocks, and questions about why someone lacks access. They need to see enough of a user to resolve a ticket and perform a small set of actions on that user. They should not be able to grant themselves or others powerful roles, change authorization settings, or view data beyond what the ticket requires. Delegated rights for this group are usually narrow and action-specific, which makes them a good candidate for scoped delegation with clearly bounded operations.
- Limited actions: Restrict help desk users to a short list of operations, such as password reset and account status, rather than general object editing.
- Scope by population: Where your organization supports it, limit the users the help desk can act on to a defined organizational unit or population.
- No role grants: Prevent help desk accounts from assigning roles that carry administrative or sensitive access.
- Escalation path: Define which requests move to platform administrators or role owners, so help desk does not improvise.
- Audit visibility: Make sure help desk actions appear in the audit trail with the acting identity, so they can be reviewed.
Confirm with the help desk lead which actions the ticket process actually requires, and test each one under the proposed authorizations before go-live.
Auditors and reviewers need to see who has access, how it was granted, and whether reviews were completed. They rarely need to change anything. The main risk with this group is accidental privilege: a reviewer who can also approve their own requests, or an auditor account that quietly gains write access over time. Read-only scope, with a separate path for reviewers who act on certification decisions, is the usual pattern. Whether an auditor can see particular attributes or personal data depends on your authorization design and privacy requirements.
- Read-only by default: Give auditors view rights over the objects and reports they need, with no edit rights on users, roles, or policies.
- Reviewer separation: Keep reviewers from approving their own access or the access of people they manage where your policy forbids it.
- Report access: Control who can run or export reports, since reports can expose more data than the GUI shows.
- Personal data limits: Confirm which attributes reviewers and auditors may see, and document the decision.
- Periodic check of the auditors themselves: Include audit and review roles in the same review cycle as other privileged access.
Confirm with your compliance lead which evidence auditors need, and check that the read-only design supplies it without granting write paths.
Moving administrators off Superuser step by step
This sequence replaces broad Superuser access with scoped administration roles, one duty at a time, while keeping a controlled emergency path. Each step closes with a check that the change works before the next one begins.
Inventory every holder of Superuser access
List every account that holds the Superuser role (the authorization covering all actions, written as #all in midPoint) and record the assignment path for each one: direct assignment, inherited through a role, or granted by a policy or synchronization rule. Export the results and review them with the security owner and the identity team. The step is done when every holder has a documented path and an owner, and when no Superuser grant is unexplained. Expect some holders to be service or integration accounts that need their own treatment.
Map administrative duties to scoped roles
Write down the actual administrative tasks your team performs, such as managing a business role catalog, running certification campaigns, editing a single organizational unit, or viewing audit records. Group tasks by duty and define one administration role per group, listing the object types, actions and scope each role needs. Involve the people who do the work, since they will reveal tasks the inventory missed. The output is a signed-off role matrix that names what each role may do and what it must never do.
Build the admin roles in a non-production environment
Create the administration roles and their authorization definitions in a non-production midPoint instance, using the same configuration you will promote later. Delegated administration, which grants partial administration rights so business staff can manage business roles without system privileges, is one pattern to evaluate for roles like this. Keep the configuration in version control so changes are reviewable. The step is complete when the roles load cleanly and appear in the expected places in the interface.
Test each role with a dedicated test account
Create one test account per role, assign only that role, and run a scripted list of tasks that duty should complete. Then run a second list of out-of-scope actions, such as editing a different organizational unit, changing another role's definition, or opening a restricted object type, and confirm each one is denied. Record the result of every test case. The check passes only when the in-scope tasks succeed and every out-of-scope attempt is refused, and failing cases return to step two for correction.
Move administrators to scoped roles in batches
Assign the new roles to real administrators in small groups, starting with the lowest-risk duty, and keep their Superuser assignment in place until the scoped role has been used for a working period. Confirm with each person that their daily tasks still work and log any gaps. Adjust the role definitions where legitimate work is blocked, and document each change. The step is done when every administrator in the batch completes their routine work with the scoped role alone.
Establish a controlled break-glass path
Keep one emergency administrative account for recovery, such as when the identity source is down or a configuration error locks out normal administrators. Store its credentials under dual control, limit the number of people who can use it, enable alerting on every login, and require a documented review after each use. Test the recovery path in the non-production environment so the team knows the procedure works before it is needed. The check is a successful login through the break-glass path in the test environment and a confirmed alert on that login.
Remove Superuser assignments and re-run the inventory
Once each duty has run on its scoped role, remove the Superuser assignments from the people and accounts identified in step one, except the break-glass account. Repeat the inventory export and compare it with the earlier one to confirm that only the approved holders remain. Record the change in your administrative change log. The step is complete when the inventory shows only the approved break-glass account holding the full authorization, and the scoped administrators still complete their tasks.
Schedule recurring reviews of administrative access
Set a recurring review of every administration role, its assignees and the break-glass account, with the security owner signing off on the result. Include a check that no new object holds the full authorization outside the approved path, and compare each review with the previous export. Treat unexpected changes as security events to investigate. The output is a dated review record for each cycle, which becomes evidence of ongoing least-privilege control.
Privileged operations that need tighter control
Some midPoint operations change what every other control depends on. Changing authorizations, scripts, keys, connector credentials, recovery tools and bulk identity data can widen access across the whole deployment, so each deserves its own authorization and review path rather than the general administrator role.
Changing authorizations and roles
Editing role definitions, authorization objects and the role assignments that grant them determines what every other administrator can do. A person who can change their own roles or the roles of peers can grant themselves wider rights without triggering any other control. Confirm which roles are allowed to create or modify roles and authorizations, whether those changes go through approval, and whether an alert fires when an assignment to a privileged role is made.
Authorization docsEditing expressions and scripts
Mappings, object templates and reports can run Groovy or other scripts with server-side effects, so whoever edits them effectively runs code on the midPoint server. Separate the people who write business mappings from the people who can enter arbitrary script content. Confirm which expression profiles apply to each group, who can edit reports, and whether script changes are reviewed before they reach production.
Handling the keystore and encryption keys
Access to the keystore and to midPoint home gives an operator the material needed to decrypt stored secrets and sensitive attributes. Restrict file-system and backup access to a small operator group, separate key custody from routine administration, and record every rotation or re-encryption run. Confirm where the keystore is backed up, who can read those backups, and how a key change is authorized and logged.
Changing connector credentials
Resource definitions hold the service accounts midPoint uses to reach target systems, and those accounts often hold broad rights in Active Directory, databases or cloud tenants. Changing a connector password or pointing a resource at a different host can redirect provisioning or expose credentials. Confirm which accounts midPoint uses for each connector, whether those accounts are scoped to the least rights the connector needs, and who can change resource connection settings.
Running recovery tools
The Ninja command-line tool can operate directly on the repository, including repair and re-encryption tasks, which bypasses the normal user interface controls. Restrict shell and host access to the operators who need it, log each run, and rehearse recovery steps in a non-production copy first. Confirm who holds operating system access to the midPoint host and database, and where Ninja command output is retained.
Bulk changes to identities
Bulk actions, imports and reconciliation runs can change or disable many accounts at once, and a wrong filter can affect far more identities than intended. Require a named operator for each bulk run, confirm that safety thresholds and simulation or preview steps are configured for the affected resources, and review the scope of any change before it runs. Confirm who may start bulk tasks, who may approve them, and how they are logged.
Authorization design options and when each fits
This table compares four ways to scope administrative rights in midPoint, from one broad administrator role to a restricted break-glass account. Read each row for what the option grants, the setting where it fits, and the cost it carries. The main takeaway is that broad rights are fast to set up but make every later review harder, so most teams combine scoped admin roles with a tightly held emergency account.
| Option | What it grants | When it fits | Main trade-off |
|---|---|---|---|
| Single broad administrator role | Full administrative access across objects, configuration and tasks, typically tied to the superuser pattern | Small pilots or early build phases where one engineering team makes every change | Fast to set up, but every holder can change anything, which makes access reviews of admins hard to scope |
| Role-per-duty admin roles with org-unit scope | Specific operations such as user administration or resource management, limited to a defined organizational unit | Production estates where helpdesk, identity operations and connector owners need different rights | More roles to design and test, and scope errors appear if org structure changes |
| Delegated business-role management | Partial rights to view or edit business roles and their assignments without system configuration access | Business owners who approve or maintain role content and should not touch system settings | Requires clear role ownership and an agreed process, otherwise changes bypass engineering review |
| Restricted break-glass account | Full recovery rights kept out of daily use, with credentials held under controlled custody | Emergency access when SSO, the identity provider or normal admin roles fail | Rarely used, so it must be tested and monitored, and a poorly guarded account becomes the easiest target |
How to review who holds #all and why it matters
Reviewing who holds the #all authorization is the fastest way to measure how much of your midPoint administration is still broad. The check has to cover more than direct assignments. A user can reach full rights through a role that carries #all, through an inducement that pushes that role onto everyone who holds a parent role, or through membership in an organizational unit whose assignments grant full access. Start by listing every role and org that carries an authorization with the #all action, then walk the assignment graph outward from each one to find every user, service account and connector identity that reaches it. Record the paths, not just the endpoints, because a finding such as "this user holds #all through inducement from a legacy role" tells the remediation team where to act.
Indirect paths are the common gap. Teams often clean up direct grants and assume the job is done, while an inducement added years earlier, a meta-role or an org membership inherited by a large group keeps the broad right alive. For each path, write down the business justification, the named owner who approved it, the date of approval and the scope that would replace the broad right. If no justification exists, treat the path as a remediation item. Confirm the exact view and query options available in your midPoint version before you build the procedure, because the administrative interface and reporting features change between releases.
Make the review repeatable and recorded so it does not depend on one person's memory. Re-run it after every midPoint upgrade, after any connector change that alters what a target system can grant, and whenever a new delegated administration role is created, since delegated roles often carry narrower authorizations that can be combined with broad ones. Keep the output with the change ticket and the date, and compare it with the previous run to spot new #all paths. Ask your implementation partner or internal team to confirm which midPoint features in your release support this kind of query, and agree the record format before the first run.
Security and operational considerations
Scoping administrators with authorizations reduces what a compromised or careless account can do, but only if the privileged activity around those accounts is also watched and governed. The cards below cover the controls that keep scoped administration trustworthy over time: logging, separation of duties, break-glass custody, change control and patching.
Log every privileged action
Administrative changes to roles, authorizations, resources and the Superuser role should produce an audit trail that someone reviews. Confirm which events midPoint records in the audit log for authorization and role assignment changes, where those records are stored, and how long they are kept. Forward them to your central log platform so an administrator cannot quietly alter the only copy. Test an alert on a sample grant of #all before relying on it.
Separate administrators from managed users
An administrator who can edit their own account, their own role assignments or the approval rules that apply to them can grant themselves access. Keep administrator accounts distinct from the personal identities they manage, and exclude administrators from being the sole approvers of their own requests. Check that self-service and object-level authorizations do not let an administrator modify their own assignments.
Protect the break-glass account
Keep one emergency administrator account for recovery when SSO or the role model fails. Enroll it in multi-factor authentication, store its credentials offline under dual control, and record every login. Confirm how the account behaves if your identity provider is unavailable, and rehearse a login from the sealed credentials at least once per planned review cycle.
Control changes to authorization objects
Edits to authorization, role and administrative objects change what every administrator can do, so they belong in change control. Require a written request, a second reviewer and a record of the before and after state for each change. Where your team manages midPoint configuration as code, route these objects through the same review as other configuration.
Review holders of broad rights
Run a recurring report of which accounts hold the Superuser role or broad #all authorizations, and of which delegated administrators hold partial rights. Compare the list with the people your organization expects to have administrative duties. Remove stale grants, and record the business reason for each one that remains.
Patch administration paths promptly
Security fixes to midPoint reach your environment only through an upgrade, so the administrator role model must be tested again after each one. midPoint 4.8 is a long-term support release supported until 17 October 2028, and 4.9 support ends 18 October 2026. Plan upgrades so that authorization changes are re-verified in a staging copy, and confirm with Evolveum which fixes are delivered in maintenance releases and which need a subscription.
midPoint releasesQuestions teams ask before scoping administrator authorizations
How much effort does a scoped administrator model take?
The effort depends on how many administrative duties need separate rights, how mature the role model already is, and how much testing the change needs. Most of the work sits in three places: listing who does what today, designing admin roles and authorizations for each duty, and proving that each role can do its job and nothing more. A deployment with a clean role model and a short list of admin tasks is far smaller than one where Superuser has been used for years for everything. Ask any partner to break the estimate into discovery, design, implementation and verification so you can see which driver is largest in your environment.
Can our internal team scope midPoint authorizations without outside help?
Yes, many teams do this in-house if they already run midPoint and have someone who understands its authorization model in depth. The risk is usually not the configuration itself but the gaps: an admin role that quietly grants more than intended, or a delegated role that reaches objects nobody meant to expose. Check whether your team has time to run a full audit of current assignments, a test environment that mirrors production, and an independent reviewer for the final role set. An outside review is useful when the internal team lacks that time or wants a second opinion before go-live.
What does the work need from our staff?
It needs named role owners who can say which business functions each admin role must cover, an administrator who can export and review current assignments, and a non-production midPoint environment where changes can be tested before they reach production. Security or compliance staff should review the outcome, because they will later have to show who held which rights. Ask the partner to confirm in writing which of these inputs they expect from you, how many review sessions to plan, and who signs off each role before it is deployed.
How long does it take to get the scope confirmed in writing?
The confirmation time depends on how quickly your team can provide the current assignment list, the list of admin duties, and the people who approve them. Delays usually come from slow answers about who needs which right, not from drafting the scope itself. Ask for the written scope to name its assumptions, the inputs it depends on, and the decision points where you must respond. A partner should be able to tell you what would move the timeline, even if it cannot give a fixed date before discovery.
Can we remove Superuser entirely from midPoint?
In most deployments you should reduce Superuser use sharply, but removing it entirely is a design decision that needs testing first. Keep a tightly controlled break-glass account for recovery, store its credentials under strict control, and log every use. Confirm with your partner and in your own environment that the scoped roles cover every routine and emergency task before you restrict the default account. Review who currently holds the all-access authorization (the #all right) and move each holder to a narrower role wherever the duty allows it.
How does DeployOpen scope this work and price it?
DeployOpen plans most engagements as fixed-scope work. Scope, deliverables and timelines are agreed in writing before the work starts, and the quote follows from that written scope. The scope usually covers the duty inventory, the authorization design, the implementation in your midPoint instance, testing with your role owners, and the handover documentation. DeployOpen does not publish a price list, so ask for a quote that lists each deliverable, the inputs you must provide, and whether ongoing review or retesting is included or sold as a separate retainer.
What recurring work follows the initial scoping?
Admin rights drift over time as people change roles and new systems are connected, so the model needs periodic review. Plan for a recurring review of who holds each admin role, a check after each midPoint upgrade, and testing whenever a new duty is added. Ask whether the partner offers retainers for this review and how changes to the role set would be tested and approved.
How DeployOpen scopes and delivers administrator authorization work
DeployOpen starts by working out who holds administrative power in your midPoint today. The first deliverable is an inventory of accounts and roles that carry the #all authorization or broad administrative powers, with the reason each one exists and how it was granted. Alongside that, DeployOpen reviews the authorization and administrator role assignments your team has already made, including any delegated administration that business owners use to manage their own roles. Most of this work is read-only analysis of your configuration and access history, so it can be completed before any design decisions are made. Confirm with your team whether any service accounts or connector-related identities also hold broad rights, because those are often missed in the first pass.
With the current picture in hand, DeployOpen designs the admin role set with your security, identity and business owners. The design covers which administrative tasks move into scoped roles, which remain with a small named group for privileged operations, and which can be handed to business people through delegated administration. Each role is written down with its authorizations, its scope and its owner. DeployOpen then tests the set in an environment it builds for the purpose, checking that each role can do what it needs and nothing more, and that the Superuser path is no longer the default route for routine work. Findings from testing are fixed and retested before anything is considered ready for your production system.
Handover includes the role documentation, the test evidence and a repeatable procedure for reviewing #all holders, so your team can run the check on its own schedule. Engagements are fixed-scope, and the scope, deliverables and timelines are agreed in writing before work starts. Your written scope should name the midPoint version in use, the number of environments covered and the review cadence you expect to run afterwards. Ongoing support, including periodic reviews of administrator assignments and help with midPoint upgrades that change authorizations, is available as a retainer. Ask any firm you are comparing to state in writing who will do the testing and what evidence you will receive at the end.

