* Add read only and admin policies * Migrate to 2 system groups * Add system groups * Add system groups admin & read only * Dont' mutate parameters * Fix types
8 lines
236 B
Python
8 lines
236 B
Python
"""Constants for the auth module."""
|
|
from datetime import timedelta
|
|
|
|
ACCESS_TOKEN_EXPIRATION = timedelta(minutes=30)
|
|
MFA_SESSION_EXPIRATION = timedelta(minutes=5)
|
|
|
|
GROUP_ID_ADMIN = 'system-admin'
|
|
GROUP_ID_READ_ONLY = 'system-read-only'
|