We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4c5c1d commit aea9d25Copy full SHA for aea9d25
src/service_ml_forecast/middlewares/keycloak_middleware.py
@@ -72,6 +72,8 @@ class KeycloakTokenUserPayload(BaseModel):
72
resource_access: dict[str, ResourceRoles]
73
74
75
+# TODO: Improve role checking and handling to enable more granular role-based access control
76
+# See issue: https://github.com/openremote/service-ml-forecast/issues/32
77
RESOURCE_ACCESS_KEY = "openremote"
78
REQUIRED_ROLES = ["write:admin", "read:admin"]
79
0 commit comments