Bulk Actions Authorizations

Last modified 25 Mar 2026 13:08 +01:00
Since 4.8
This functionality is available since version 4.8.

This describes authorizations required to run bulk actions.

Bulk actions in midPoint allow users to execute operations on many objects at once, making large-scale management tasks faster and more efficient. Because such operations can affect many objects simultaneously, midPoint requires both the standard object authorization and an additional bulk-action authorization.

To enable users to run bulk actions, you need to grant them:

  1. Authorization to run bulk actions - http://midpoint.evolveum.com/xml/ns/public/security/authorization-bulk-3. You can grant this bulk authorization either for:

  2. Access to the actual objects on which bulk actions are executed.
    The object authorizations do not always correspond directly to the bulk action authorizations. The minimum required object authorizations for each bulk action are listed in the table below.

    For example, to be able to resolve objects in bulk, you need the http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#get authorization for those individual objects.

    In some cases, it may be necessary to fetch an actual object beforehand, or specify additional parameters for an action. This may require additional authorizations. For example, if you need to resolve objects before modifying them, you will not only need privileges for the resolve and modify actions, but you will also need the object get and modify authorizations.

    Bulk action Required object model authorization

    Depends on the actual bulk action that is executed.

    assign for the request phase, and modify for the execution phase.

    Depends on the executed script.

    Depends on the executed expression.

    No authorization required.

    modify

    recompute

    add

    No authorization required.

    delete

    unassign for the request phase, and modify for the execution phase.

    modify

    modify

    modify

    resumeTask

    modify

    No authorization required.

    get

    No authorization required.

    No authorization required.

    No authorization required.

    No authorization required.

    read, or alternatively, search and get.

    Note that primary names of actions are used, e.g., generate-value as opposed to generateValue.

    For more information on actions, see Actions (midPoint scripting language).
    For details regarding model authorizations, see IDM Model Authorizations and MidPoint Authorization Configuration.

Before midPoint 4.8, the http://midpoint.evolveum.com/xml/ns/public/security/authorization-bulk-3#all authorization was named http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#executeScript. Despite the confusing name, this authorization would not allow you to run Groovy scripts (or Velocity, Python, JavaScript, and similar). As scripts are powerful tools, running them still required the #all authorization.

Was this page helpful?
YES NO
Thanks for your feedback