Module ImportFrom alias Import alias Import alias Assign NameStore CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num If NameLoad body Assign NameStore TupleLoad NameLoad orelse Assign NameStore TupleLoad NameLoad FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return NameLoad orelse Return ListLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse If CompareGt Call NameLoad NameLoad Num body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return BoolOpAnd Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return BoolOpOr CompareIn NameLoad AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpOr CompareIn NameLoad AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse If Call NameLoad AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return CompareEq Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Return Call NameLoad NameLoad NameLoad orelse Return Call NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Return CompareEq AttributeLoad NameLoad attr NameLoad orelse Return CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body If BoolOpAnd CompareEq Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body If BoolOpAnd CompareEq Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body ImportFrom alias Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Return AttributeLoad NameLoad attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad For NameStore NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Dict NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad ListLoad NameLoad ListLoad NameLoad decorator_list NameLoad decorator_list
N/A bouncer.constants * N/A inspect N/A sys N/A PY3 N/A N/A N/A sys version_info N/A 0 3 N/A PY3 N/A N/A string_types N/A str N/A N/A string_types N/A basestring listify N/A N/A list_or_single N/A N/A N/A N/A isinstance list_or_single N/A list tuple N/A N/A list_or_single N/A N/A N/A list_or_single N/A Rule N/A object N/A __init__ N/A N/A self base_behavior action subject conditions N/A None conditions_hash N/A N/A N/A self base_behavior base_behavior N/A N/A self actions N/A listify action N/A N/A self subjects N/A listify subject N/A N/A self conditions None N/A N/A N/A conditions None N/A N/A len conditions_hash 0 N/A N/A N/A TypeError cannot provide both a condition method and hash -- pick one N/A N/A N/A conditions None N/A N/A N/A self conditions conditions N/A N/A N/A N/A len conditions_hash 0 N/A N/A N/A self conditions conditions_hash N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r) N/A N/A self __class__ N/A self __dict__ N/A is_relavant N/A N/A self action subject N/A N/A N/A N/A N/A N/A self matches_action action N/A N/A self matches_subject subject N/A expanded_actions N/A N/A self N/A N/A N/A N/A self _expanded_actions N/A property expanded_actions N/A N/A self value N/A N/A N/A N/A self _expanded_actions value N/A N/A expanded_actions setter matches_action N/A N/A self action N/A N/A N/A N/A N/A MANAGE N/A self expanded_actions N/A action N/A self expanded_actions N/A matches_subject N/A N/A self subject N/A N/A N/A N/A N/A ALL N/A self subjects N/A subject N/A self subjects N/A N/A self matches_subject_class subject N/A matches_conditions N/A N/A self action subject N/A N/A N/A N/A N/A self conditions None N/A N/A True N/A N/A N/A N/A inspect isclass subject N/A N/A True N/A N/A N/A isinstance N/A self conditions dict N/A N/A N/A N/A self matches_dict_conditions action subject N/A N/A N/A N/A self matches_function_conditions action subject N/A matches_dict_conditions N/A N/A self action subject N/A N/A N/A N/A all N/A N/A N/A self matches_hash_condition subject key N/A N/A self conditions N/A key N/A key N/A self conditions N/A matches_hash_condition N/A N/A self subject key value N/A N/A N/A N/A N/A getattr subject key value N/A matches_function_conditions N/A N/A self action subject N/A N/A N/A N/A N/A self conditions subject N/A matches_subject_class N/A N/A self subject N/A N/A N/A 
        subject can be either Classes or instances of classes
        self.subjects can either be string or Classes
         N/A sub N/A self subjects N/A N/A N/A N/A inspect isclass sub N/A N/A N/A N/A inspect isclass subject N/A N/A N/A issubclass subject sub N/A N/A N/A isinstance subject sub N/A N/A N/A isinstance sub string_types N/A N/A N/A N/A inspect isclass subject N/A N/A N/A N/A subject __name__ sub N/A N/A N/A N/A N/A subject __class__ __name__ sub N/A False N/A N/A RuleList N/A list N/A append N/A N/A self N/A item_description_or_rule kwargs N/A N/A N/A N/A N/A len item_description_or_rule 1 N/A isinstance N/A item_description_or_rule N/A 0 Rule N/A N/A item N/A item_description_or_rule N/A 0 N/A N/A N/A N/A super RuleList self append item N/A N/A item N/A Rule True item_description_or_rule kwargs N/A N/A N/A N/A super RuleList self append item N/A N/A can append cannot N/A N/A self N/A item_description_or_rule kwargs N/A N/A N/A N/A N/A len item_description_or_rule 1 N/A isinstance N/A item_description_or_rule N/A 0 Rule N/A N/A item N/A item_description_or_rule N/A 0 N/A N/A N/A N/A super RuleList self append item N/A N/A item N/A Rule False item_description_or_rule kwargs N/A N/A N/A N/A super RuleList self append item N/A N/A Ability N/A object N/A __init__ N/A N/A self user authorization_method N/A None N/A N/A get_authorization_method N/A N/A self rules N/A RuleList N/A N/A self user user N/A N/A self _aliased_actions N/A self default_alias_actions N/A N/A authorization_method None N/A N/A N/A self authorization_method authorization_method N/A N/A N/A self authorization_method N/A get_authorization_method N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r) N/A N/A self __class__ N/A self __dict__ N/A authorization_method N/A N/A self N/A N/A N/A N/A self _authorization_method N/A property authorization_method N/A N/A self value N/A N/A N/A N/A self _authorization_method value N/A N/A N/A self _authorization_method None N/A N/A N/A N/A self _authorization_method N/A self user N/A self rules N/A N/A authorization_method setter can N/A N/A self action subject N/A N/A N/A matches N/A rule N/A rule N/A N/A self relevant_rules_for_match action subject N/A N/A rule matches_conditions action subject N/A matches N/A N/A match N/A matches N/A 0 N/A N/A match base_behavior N/A N/A False N/A cannot N/A N/A self action subject N/A N/A N/A N/A N/A N/A self can action subject N/A relevant_rules_for_match N/A N/A self action subject N/A N/A N/A matching_rules N/A N/A rule N/A self rules N/A N/A N/A rule expanded_actions N/A N/A self expand_actions N/A rule actions N/A N/A N/A rule is_relavant action subject N/A N/A N/A N/A matching_rules append rule N/A N/A matching_rules N/A -1 N/A expand_actions N/A N/A self actions N/A N/A N/A Accepts an array of actions and returns an array of actions which match.
        This should be called before "matches?" and other checking methods since they
        rely on the actions to be expanded. N/A results N/A list N/A action actions N/A N/A N/A action N/A self aliased_actions N/A N/A N/A N/A results append action N/A item N/A N/A self expand_actions N/A N/A self aliased_actions N/A action N/A N/A N/A N/A results append item N/A N/A N/A N/A results append action N/A results N/A aliased_actions N/A N/A self N/A N/A N/A N/A self _aliased_actions N/A property aliased_actions N/A N/A self value N/A N/A N/A N/A self _aliased_actions value N/A N/A aliased_actions setter default_alias_actions N/A N/A self N/A N/A N/A N/A READ CREATE UPDATE N/A INDEX SHOW N/A NEW N/A EDIT N/A property N/A