Skip to content

Conversation

@akhanfir
Copy link
Contributor

@akhanfir akhanfir commented Feb 12, 2026

akhanfir and others added 6 commits February 12, 2026 12:06
…ds-io/MIPs#242

This change will add two additional properties into User DTO:

* CreationSource: this attribute will hold the Creation Source of the user. Can be from UI, Self Registration , Import or LDAP Sync.
* AutomaticDeactivation: this attribute is a boolean which is used to know if the user was disabled by the automatic deactivation process or not.

In addition, this change will add a new method in `UserHandler` to allow disabling inactive users since a number of Days. This method will be periodically called in order to disable inactive users.
…ds-io/MIPs#242

This change will add two additional properties into User DTO:
CreationSource: this attribute will hold the Creation Source of the user. Can be from UI, Self Registration , Import or LDAP Sync.
AutomaticDeactivation: this attribute is a boolean which is used to know if the user was disabled by the automatic deactivation process or not.
In addition, this change will add a new method in UserHandler to allow disabling inactive users since a number of Days. This method will be periodically called in order to disable inactive users.
Meeds-io/MIPs#242

This change will remove number of Joined Tables in the fetched users SQL query. At the same time, the query definition is moved to be defined as a "Name" (Prepared Statement) query.
… (#1231)

This change will treat the following tasks:
- Review the Create User operation.
- Review the operation Enable User.
- Review the operation Disable User.
- Allow to specify a time for group members.
- Do not deactivate automatically user when platform admin.

In addition, this change adds a new String parameter `groupId` to the
`disableInactiveUsers` method. This `groupId` represents the ID of the
group to which the automatic deactivation will be applied. We also added
an extra condition to prevent deactivating users who belong to the admin
group. On the analytics side, a new attribute `User Source` has been
added to indicate the original source of user creation and the labels of
the other attributes have also been updated.
 (#1234)

This change ensures that analytics include a new field with the key `Status Update Source`, whose value can be `UI`, `File Import`, `Automatic Deactivation`, or External Provisioning, allowing better identification of how the user status was updated.
@akhanfir akhanfir linked an issue Feb 12, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatic Deactivation of Users

2 participants