%PDF- %PDF-
Direktori : /lib/python2.7/site-packages/salt/acl/ |
Current File : //lib/python2.7/site-packages/salt/acl/__init__.pyc |
� ���^c @@ sX d Z d d l m Z m Z m Z d d l Z d d l m Z d e f d � � YZ d S( u� The acl module handles publisher_acl operations Additional information on publisher_acl can be found by reading the salt documentation: http://docs.saltstack.com/en/latest/ref/publisheracl.html i ( t absolute_importt print_functiont unicode_literalsN( t sixt PublisherACLc B@ s; e Z d Z d � Z d � Z d � Z d � Z d � Z RS( ue Represents the publisher ACL and provides methods to query the ACL for given operations c C@ s | | _ d S( N( t blacklist( t selfR ( ( s5 /usr/lib/python2.7/site-packages/salt/acl/__init__.pyt __init__ s c C@ s) t j j j | d | j j d g � �S( u� Takes a username as a string and returns a boolean. True indicates that the provided user has been blacklisted R u users( t saltt utilst stringutilst check_whitelist_blacklistR t get( R t user( ( s5 /usr/lib/python2.7/site-packages/salt/acl/__init__.pyt user_is_blacklisted s c C@ sa t | t j � r | g } n x<