mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
System groups (#18303)
* 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
This commit is contained in:
@@ -3,3 +3,6 @@ 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'
|
||||
|
||||
Reference in New Issue
Block a user