ac6aceadfd
- only auth user can access his preference - only admin can visualize users
8 lines
112 B
Python
8 lines
112 B
Python
from enum import Enum
|
|
|
|
|
|
class UserRole(Enum):
|
|
ADMIN = 'admin'
|
|
AUTH_USER = 'auth_user'
|
|
USER = 'user'
|