# Path: nappingcat/util.py
# def _resolve_name(name, package, level):
# def import_class_from_module(name):
# 
# Path: nappingcat/config.py
# SECTION_NAME = 'kittyconfig' 
# def build_settings():
# def setup_environ(settings):


from nappingcat.util import import_module
from nappingcat import config

class AuthBackend(object):
    def __init__(self, settings):
        self.users = {}
        self.settings = settings
        self.require_update = False

    def has_permission(self, user, permission):
        full_query = (user,) + tuple(permission)

# Path: nappingcat/util.py
# def _resolve_name(name, package, level):
# def import_class_from_module(name):
# 
# Path: nappingcat/config.py
# SECTION_NAME = 'kittyconfig' 
# def build_settings():
# def setup_environ(settings):


# Path: nappingcat/auth.py
from nappingcat.util import import_module
from nappingcat import config


class AuthBackend(object):
    def __init__(self, settings):
        self.users = {}
        self.settings = settings
        self.require_update = False

    def has_permission(self, user, permission):
        full_query = (user,) + tuple(permission)

        result = self.users