You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
337 B
Python
18 lines
337 B
Python
|
|
# Copyright (C) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
default_app_config = 'cvat.apps.authentication.apps.AuthenticationConfig'
|
|
|
|
from enum import Enum
|
|
|
|
class AUTH_ROLE(Enum):
|
|
ADMIN = 'admin'
|
|
USER = 'user'
|
|
ANNOTATOR = 'annotator'
|
|
OBSERVER = 'observer'
|
|
|
|
def __str__(self):
|
|
return self.value
|