Check MaaS Admin Access
Checks whether the requesting user has MaaS admin privileges by performing a SelfSubjectAccessReview against the maasauthpolicies resource in the models-as-a-service namespace. Returns allowed: true only for users who can create MaaSAuthPolicy resources (i.e. cluster/MaaS admins). Token resolution priority:
-
Authorization: Bearer <token> — used by the ODH dashboard backend; correctly substituted with the impersonated user's token when the ODH dev impersonation feature (DEV_IMPERSONATE_USER) is active.
-
x-forwarded-access-token — fallback for standalone federated dev mode where the rspack proxy injects the real user's token directly.
Response
Access check result
Changes
Changed in 2 of the 33 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲