관리-도구
편집 파일: modify_user_hook.cpython-311.pyc
� \�Dgc � �0 � d dl mZ dZ G d� d� � ZdS )� )�hook_methodzAleksandr Shyshatskyc � � e Zd ZdZdZed� � � Zed� � � Zed d�� � Zed d�� � Z ed� � � Z ed � � � ZdS )�ModifyUserHookzq This hook provides bunch of events related to user manipulations like create, rename, transit, etc. r c � � dS )z~ Triggered after creating new user. :param username: account name :param owner: vendor's name N� )�self�username�owner�kwargss ��/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/clcommon/public_hooks/lib/modify_user_hook.py�post_create_userzModifyUserHook.post_create_user s � � �� c � � dS )zZ Triggered after creating new user. :param username: account name Nr �r r r s r �post_restore_userz ModifyUserHook.post_restore_user � � � �r Nc � � dS )z� Triggered before any modifications made to user :param username: account name :param new_name: new user account name :param new_owner: new owner after relocate Nr �r r �new_name� new_ownerr s r �pre_modify_userzModifyUserHook.pre_modify_user$ � � � �r c � � dS )z� Triggered after any modifications made to user :param username: account name :param new_name: new user account name :param new_owner: new owner after relocate Nr r s r �post_modify_userzModifyUserHook.post_modify_user. r r c � � dS )zW Triggered before deleting user. :param username: account name Nr r s r �pre_delete_userzModifyUserHook.pre_delete_user8 r r c � � dS )zV Triggered after deleting user. :param username: account name Nr r s r �post_delete_userzModifyUserHook.post_delete_user@ r r )NN)�__name__� __module__�__qualname__�__doc__�HOOK_VERSIONr r r r r r r r r r r r s� � � � � � �� � �L�� � � �[� � � � � �[� � � � � � �[� � � � � � �[� � � � � �[� � � � � �[� � � r r N)�helpersr � __author__r r r r �<module>r&