craftbeerpi4-pione/venv3/lib/python3.7/site-packages/aiohttp_auth/permissions.py
2021-03-03 23:49:41 +01:00

14 lines
244 B
Python

from enum import Enum, unique
@unique
class Permission(Enum):
Allow = True
Deny = False
@unique
class Group(Enum):
Everyone = 'aiohttp_auth.acl.group.Everyone'
AuthenticatedUser = 'aiohttp_auth.acl.group.AuthenticatedUser'