kibot.PermObjects
index
/usr/src/rpm/BUILD/kibot-0.0.12/kibot/PermObjects.py

 
Modules
       
fnmatch

 
Classes
       
CPerm
cpForbidden
cpNoPerm
cpOr
cpAnd
cpString
cpTargetChannel
exceptions.Exception
PermError
UPermCache
UserPerm

 
class CPerm
     Methods defined here:
check_globlist(self, globlist, test)
trycheck(self, userperms, context)

 
class PermError(exceptions.Exception)
     Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class UPermCache
     Methods defined here:
__contains__(self, key)
__getitem__(self, key)
__init__(self, userperms)
get(self, key, notfound=None)
keys(self)

 
class UserPerm
     Methods defined here:
__init__(self, string_perm)

Data and other attributes defined here:
default_channel_list = ['*']

 
class cpAnd(cpOr)
    
Method resolution order:
cpAnd
cpOr
CPerm

Methods defined here:
check(self, userperms, context)

Methods inherited from cpOr:
__init__(self, *args)
format(self, depth=0)

Methods inherited from CPerm:
check_globlist(self, globlist, test)
trycheck(self, userperms, context)

 
class cpForbidden(CPerm)
     Methods defined here:
check(self, userperms, context)
format(self, depth=0)

Methods inherited from CPerm:
check_globlist(self, globlist, test)
trycheck(self, userperms, context)

 
class cpNoPerm(CPerm)
     Methods defined here:
check(self, userperms, context)
format(self, depth=0)

Methods inherited from CPerm:
check_globlist(self, globlist, test)
trycheck(self, userperms, context)

 
class cpOr(CPerm)
     Methods defined here:
__init__(self, *args)
check(self, userperms, context)
format(self, depth=0)

Methods inherited from CPerm:
check_globlist(self, globlist, test)
trycheck(self, userperms, context)

 
class cpString(CPerm)
     Methods defined here:
__init__(self, stringperm)
best_perm_match(self, userperms, context)
check(self, userperms, context)
check_channel(self, userperms, context, best_match=None)
check_condition(self, userperms, context, best_match=None)
check_target(self, userperms, context, best_match=None)
format(self, depth=0)

Methods inherited from CPerm:
check_globlist(self, globlist, test)
trycheck(self, userperms, context)

 
class cpTargetChannel(cpString)
    
Method resolution order:
cpTargetChannel
cpString
CPerm

Methods defined here:
check_target(self, userperms, context, best_match)
format(self, depth=0)

Methods inherited from cpString:
__init__(self, stringperm)
best_perm_match(self, userperms, context)
check(self, userperms, context)
check_channel(self, userperms, context, best_match=None)
check_condition(self, userperms, context, best_match=None)

Methods inherited from CPerm:
check_globlist(self, globlist, test)
trycheck(self, userperms, context)

 
Functions
       
translate_cperm(cperm_obj)