mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-15 03:28:13 +01:00
15 lines
244 B
Python
15 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'
|
||
|
|