| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3.9/site-packages/ipaclient/plugins/__pycache__/ |
Upload File : |
a
�ji � @ s� d dl mZ d dlmZ d dlmZ e� Zeddd�G dd� de��Zeddd�G dd � d e��Zeddd�G d
d� de��Z eddd�G dd
� d
e��Z
dS )� )�MethodOverride)�Registry)�_T)�overrideZno_failc @ s e Zd Zdd� ZdS )�sudorule_enablec K s |� td�| � d S )NzEnabled Sudo Rule "%s"��print_dashedr ��self�textui�result�cn�options� r �>/usr/lib/python3.9/site-packages/ipaclient/plugins/sudorule.py�output_for_cli s zsudorule_enable.output_for_cliN��__name__�
__module__�__qualname__r r r r r r s r c @ s e Zd Zdd� ZdS )�sudorule_disablec K s |� td�| � d S )NzDisabled Sudo Rule "%s"r r r r r r # s zsudorule_disable.output_for_cliNr r r r r r ! s r c s e Zd Z� fdd�Z� ZS )�sudorule_add_optionc sT | j f i |��}|�td�td�|d �|d� � tt| �j|||fi |�� d S )Nz1Added option "%(option)s" to Sudo Rule "%(rule)s"�,�
ipasudoopt��optionZrule)� normalizer r �dict�join�superr r �r
r r r
r Zopts�� __class__r r r ) s ���z"sudorule_add_option.output_for_cli�r r r r �
__classcell__r r r! r r '