File manager - Edit - /opt/imunify360/venv/lib/python3.11/site-packages/clcommon/public_hooks/bin/__pycache__/post_modify_admin.cpython-311.pyc
Back
� ��]j� � �< � d Z ddlZddlmZ ddlmZ ddlmZ e dk r� e� � ej e �� � Ze� d� � � Z e � d � � Ze� ddd ed�� � e � d� � Ze� ddd ed�� � e� � � Z e� � Zej d k re� ej � � dS ej dk re� ej � � dS e�dS )z� Admin account POST modification hook. This script must be called AFTER different admin-related changes in control panel. See --help and docs for detailed description of actions and parameters. � N)�ModifyAdminHook)�setup_logger_and_sentry)� valid_name�__main__)�description�command)�dest�createz--namez-nTz#Name of newly created admin account)�required�type�help�deletezName of deleted admin account)�__doc__�argparse�clcommon.public_hooks.libr �clcommon.public_hooksr �!clcommon.public_hooks.lib.helpersr �_valid_name�__name__�ArgumentParser�parser�add_subparsers� subparsers� add_parserr �add_argumentr � parse_args�args�listenerr �post_create_admin�name�post_delete_admin�NotImplementedError� � ��/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/clcommon/public_hooks/bin/post_modify_admin.py�<module>r&