craftbeerpi4-pione/venv/lib/python3.8/site-packages/aiohttp_auth/permissions.py

15 lines
244 B
Python
Raw Normal View History

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'