FitTrackee/fittrackee/users/roles.py
Sam ac6aceadfd API - limit access to users for now
- only auth user can access his preference
- only admin can visualize users
2022-03-26 17:58:20 +01:00

8 lines
112 B
Python

from enum import Enum
class UserRole(Enum):
ADMIN = 'admin'
AUTH_USER = 'auth_user'
USER = 'user'