Simple add-on to Deactivate Confluence users who left organization and remove license groups (e.g. confluence-users) for inactive users.
In addition to default Confluence Supported User Directories, it also Supports Okta and Google G-suite remote directories.
This add-on provides:
- Option to choose Directory for user deactivation
- Option to process/restrict user deactivation specific to group
- Option to configure schedule to run user deactivation
- Option to skip specific Confluence users for user deactivation
- Option to remove specific Confluence groups for Deactivated users (or even without deactivating users)
- Option to rename Deactivated user to {username}_inactive_yyyyMMdd
- Helps to reduce license count, removing Confluence license groups (e.g. confluence-users) for Inactive Users
- Useful REST APIs
- Get Deactivated users
- Get Active Users Never Login created before N days
- Get Active Users Not active last N days
- Remove Specific groups for User
- Remove All groups for User
- Deactivate User
- Reactivate User
For inactive users (i.e. not active on jira but exists in organization):
- As of now you can manually run this task on-demand basis by specifying number of days not active. This process will remove license groups for not active users in Jira.
- This task is not included in automated run schedule. (it will be implemented in future plugin release).
QUICK START STEPS
Here is Quick Start Steps to start using this plugin.
STEP-1
Go to, System General Configuration > Click Manage Inactive Users
Note:
- Choose User Directory Name: To process users for deactivation specific to this directory
- Enter Processing Group (Optional): It gives flexibility to process users for deactivation from specific group (e.g confluence-users).
- For testing you can use group with small number of users.
- Admin Username: Plugin uses this admin user privileges to deactivate users
- Deactivate Users (Optional): Choose True/False either to de-activate users
- Skip Users (Optional): Enter a comma separated users to skip for user deactivation
- Remove Groups (Optional): Enter a comma separated groups to remove for Deactivated users
- Refer this document on how to Create Delegated LDAP Directory
STEP-2
Go to, System General Configuration > Scheduled Jobs
Default schedule for Automatic user de-activation.
Note. For Manual run: Go to, System General Configuration > Scheduled Jobs > Click Run.
STEP-3
To Debug Manage Inactive Users App:
Go to, System General Configuration > Logging and profiling > Add New Entry
Class/Package Name: com.tse.confluence.deactivateusers.plugin Level: Debug
Click Add.