From d9cec0d3f50c4e13f5c558eb8bc06eaa8175dfc7 Mon Sep 17 00:00:00 2001 From: Semyon Knyazev Date: Thu, 10 Oct 2024 22:38:41 +0400 Subject: [PATCH] Add comments to common task manager --- src/adldap/common_task_manager.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/adldap/common_task_manager.h b/src/adldap/common_task_manager.h index ddd0b58d..085f1ded 100644 --- a/src/adldap/common_task_manager.h +++ b/src/adldap/common_task_manager.h @@ -31,18 +31,22 @@ class AdConfig; enum CommonTask { CommonTask_UserControl, // User creation, deletion and control CommonTask_ChangeUserPassword, // Reset user password and force password change at next logon - CommonTask_ReadAllUserInformation, + CommonTask_ReadAllUserInformation, // Read all user information CommonTask_GroupControl, // Group creation, deletion and control CommonTask_InetOrgPersonControl, // InetOrgPerson creation, deletion and control CommonTask_ChangeInetOrgPersonPassword, // Reset user password and force password change at next logon - CommonTask_ReadAllInetOrgPersonInformation, - CommonTask_GroupMembership, - CommonTask_ManageGPLinks, + CommonTask_ReadAllInetOrgPersonInformation, // Read all inetOrgPerson information + CommonTask_GroupMembership, // Modify the membership of a group + CommonTask_ManageGPLinks, // Manage Group Policy links CommonTask_DomainComputerJoin, // Join a computer to the domain CommonTask_COUNT }; +/** Manages common tasks (the concept is taken from RSAT Users and Computers delegation). + * Theoretically, existing tasks can be supplemented with other tasks. This makes + * the manager class look more useful. + */ class CommonTaskManager { public: QHash> common_task_rights;