Skip to main content
Skip table of contents

Users - Manage option to have an approval step

This article describes how to manage the option to have an approval step for several use cases in the Users package in Smart ID. Read more here: Smart ID Workforce use cases

A script in Identity Manager Admin is used to manage the options. 

See a list of all available options in the Smart ID use cases for the Users package here: Users - Options

Prerequisites

-

Step-by-step instruction for the administrator

Log in to Identity Manager Admin
  1. Log in to Identity Manager Admin as Administrator.
Manage the option to have an approval step for "Create user"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script UsersScriptOptions.
  3. In the section Approvals in the script, go to the UsersCreationApproval variable, see the example. By default it is set to false, that is, there is no approval step when a user is created.

    Example:

    /* 
    Defines if user creation require approval.
    Possible options:
     * true - Approval steps are enabled.
     * false(default) - Approval steps are disabled.
    */
    UsersCreationApproval = true
  4. If you want to have an approval step when creating a user, set UsersCreationApproval to true.
  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).
Manage the option to have an approval step for "Deactivate user"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script UsersScriptOptions.
  3. In the section Approvals in the script, go to the UsersDeactivationApproval variable, see the example. By default it is set to true, that is, there is an approval step when a user is deactivated.

    Example:

    * 
    Defines if user deactivation require approval.
    Possible options:
     * true(default) - Approval steps are enabled.
     * false - Approval steps are disabled.
    */
    UsersDeactivationApproval = true
  4. If you do not want to have an approval step when deactivating a user, set UsersDeactivationApproval to false.
  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).
Manage the option to have an approval step for "Reactivate user"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script UsersScriptOptions.
  3. In the section Approvals in the script, go to the UsersReactivationApproval variable, see the example. By default it is set to true, that is, there is an approval step when a user is reactivated.

    Example:

    /* 
    Defines if user reactivation require approval.
    Possible options:
     * true(default) - Approval steps are enabled.
     * false - Approval steps are disabled.
    */
    UsersReactivationApproval = true
  4. If you do not want to have an approval step when deactivating a user, set UsersReactivationApproval to false.
  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).
Manage the option to have an approval step for "Lock user"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script UsersScriptOptions.
  3. In the section Approvals in the script, go to the UsersLockingApproval variable, see the example. By default it is set to true, that is, there is an approval step when a user is locked.

    Example:

    /* 
    Defines if user locking require approval.
    Possible options:
     * true(default) - Approval steps are enabled.
     * false - Approval steps are disabled.
    */
    UsersLockingApproval = true
  4. If you do not want to have an approval step when locking a user, set UsersLockingApproval to false.
  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).
Manage the option to have an approval step for "Edit user"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script UsersScriptOptions.
  3. In the section Approvals in the script, go to the UsersEditApproval variable, see the example. By default it is set to true, that is, there is an approval step when a user is edited.

    Example:

    /* 
    Defines if edit user require approval.
    Possible options:
     * true(default) - Approval steps are enabled.
     * false - Approval steps are disabled.
    */
    UsersEditApproval = true
  4. If you do not want to have an approval step when editing a user, set UsersEditApproval to false.
  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).
Manage the option to have an approval step for "Edit roles"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script UsersScriptOptions.
  3. In the section Approvals in the script, go to the UsersEditRolesApproval variable, see the example. By default it is set to true, that is, there is an approval step when editing a role for a user.

    Example:

    /* 
    Defines if edit roles require approval.
    Possible options:
     * true(default) - Approval steps are enabled.
     * false - Approval steps are disabled.
    */
    UsersEditRolesApproval = true
  4. If you do not want to have an approval step when  editing a role for a user, set UsersEditRolesApproval to false.
  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).
Manage the option to have an approval step for "Edit photo"

This option is used when a self-service user edits his or hers own photo.

  1. Select the script UsersScriptOptions.
  2. In the section Approvals in the script, go to the UsersEditPhotoApproval variable, see the example. By default it is set to true, that is, there is an approval step when a self-service user edits a photo.

    Example:

    /* 
    Defines if edit user photo require approval.
    Possible options:
     * true(default) - Approval steps are enabled.
     * false - Approval steps are disabled.
    */
    UsersEditPhotoApproval = false
  3. If you do not want to have an approval step when a self-service user edits a photo, set UsersEditPhotoApproval to false.
  4. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).

Technical details

Default value and outcome
Use caseValueOutcome
Create userFalse (default)There will not be an approval step when creating a user

TrueThere will be an approval step when creating a user
Deactivate userTrue (default)There will be an approval step when deactivating a user

FalseThere will not be an approval step when deactivating a user
Reactivate userTrue (default)There will be an approval step when reactivating a user

FalseThere will not be an approval step when reactivating a user
Lock userTrue (default)There will be an approval step when locking a user

FalseThere will not be an approval step when locking a user
Edit userTrue (default)There will be an approval step when editing a user

FalseThere will not be an approval step when editing a user
Edit rolesTrue (default)There will be an approval step when editing a role for a user

FalseThere will not be an approval step when editing a role for a user
Edit photo (self-service)True (default)There will be an approval step when a self-service user edits a photo

FalseThere will not be an approval step when a self-service user edits a photo
The manage options for Users script

Additional information


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.