# -*- coding: utf-8 -*-
"""
config file for evoke.Permit  
"""

from evoke.data.schema import *

# the following are likely to be overridden in an app's User/config.py
guests = False  # do guests have access by default?
permits = {'master': ['be'], 'user': ['edit']}  #basis of permit system
default_permits = {}  #default permits a new member gets


class Permit(Schema):
    table = 'permits'
    user = REL, KEY
    group = TAG
    task = TAG, 'view'
    insert = [dict(user=2, group='master', task='be')]

# -*- coding: utf-8 -*-
"""
config file for evoke.Permit  
"""

from evoke.data.schema import *

# the following are likely to be overridden in an app's User/config.py
guests = False  # do guests have access by default?
permits = {'master': ['be'], 'user': ['edit']}  #basis of permit system
default_permits = {}  #default permits a new member gets


class Permit(Schema):
    table = 'permits'
    user = REL, KEY
    group = TAG
    task = TAG, 'view'
    insert = [dict(user=2, group='master', task='be')]

# -*- coding: utf-8 -*- config file for evoke.Permit # the following are likely to be overridden in an app's User/config.py # do guests have access by default? #basis of permit system #default permits a new member gets