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

 
Modules
       
kibot
os

 
Classes
       
kibot.BaseModule.BaseModule
permDB
exceptions.Exception
CommandNotFoundError

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

 
class permDB(kibot.BaseModule.BaseModule)
     Methods defined here:
__init__(self, bot)
can_execute(self, command_name, obj, cperm, cmd)
can_grant_perm(self, perm, userperms)
expand_alias(self, command)
##############################################################
get_unknown_perms(self)
grant_depth(self, base_perm, granted_perm)
granted_by(self, perm)
grants(self, perm)
implied_by(self, perm)
implies(self, perm)
imply_depth(self, base_perm, implied_perm)
set_unknown_perms(self, newperms)

 
Data
        default_grant = {'manager': ['op', 'kick', 'introduce', 'ignore'], 'owner': ['owner', 'manager', 'load']}
default_imply = {'manager': ['op', 'kick', 'introduce', 'load'], 'owner': ['manager']}