Skip to content

Commit aea9d25

Browse files
Added TODO comment with issue link for RBAC improvements
1 parent b4c5c1d commit aea9d25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/service_ml_forecast/middlewares/keycloak_middleware.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ class KeycloakTokenUserPayload(BaseModel):
7272
resource_access: dict[str, ResourceRoles]
7373

7474

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
7577
RESOURCE_ACCESS_KEY = "openremote"
7678
REQUIRED_ROLES = ["write:admin", "read:admin"]
7779

0 commit comments

Comments
 (0)