/
4 Auto Activate/Deactivate Users

4 Auto Activate/Deactivate Users

1 Introduction

You can set a scheduler to automatically clean up users who have not logged in for a long time, so as to revoke their permissions or reduce the cost of licenses. Users can be reactivate automatically when they attempt to login.

2 Auto deactivate/activate users

Click "Auto Deactivate Users" in the menu to enter the following configuration interface:

image-20240710-061617.png

Note: Auto deactivate users is disabled by default.

Turn on the switch and following configurations is shown:

image-20240710-064045.png
  • Who to deactivate?

    • Users who have logged in before but have not logged in for more than XX days (Default XX=180 days).

    • Users who have been created for over XX days but have never logged in (Default XX=180 days).

  • When to deactivate?

    • Time: the time for cleaning.

    • Interval days: Set the frequency of cleaning (Default 7 days).

  • How to deactivate?

    • At least 1 deactivate method should be selected.

    • Remove users from Permission Group: permission groups are set by administrators.

    • Make user account inactive: change user status to inactive.

  • Enable “Enable “Auto activate usersactivate users”

    • Auto activate users: If enabled, activate users who are in reserve groups and add them to corresponding permission groups when they attempt to log in.

The deactivate task will be executed according to the set time and conditions automatically.

3 Allowlist

To avoid important users being disabled by "Auto Deactivate Users" and "Batch user operations", you can add users or user groups to the allowlist.

4 Permission Group

There could be multiple reserve groups for one permission group.

If “Remove users from Permission Group“ is selected. Users being deactivated would be removed from all the permission groups.

Users to be activated must belong to at least one reserve group. They would be add to corresponding permission groups when they attempt to log in.

5 User capacity and capacity reminder of permission groups

To prevent automatic activation of users from exceeding an acceptable upper limit, you can set the limit, and a threshold can be set for sending reminder emails.

When user capacity is exceeded, “Auto activate users“ for this group would not take effect.

Reminder threshold could be number of users or percentage of users. When reminder threshold is percentage of users:

Threshold number = User capacity * Percentage of users

6 Active Statistics

After enabling version 2.0.2 or later of the plugin, it will start recording the daily number of users logged into Jira. Administrators can view the past logged in amount on Auto deactivate users - Active statistics page.