After making a change to access policies within Tanzu Mission Control, the following is observed:
Tanzu Mission Control Self-Managed
This issue occurs due to a string mismatch between the user principal defined in the TMC Access Policies and the actual identity string provided by the Identity Provider (IDP) during authentication.
In TMC-SM, authorization requires an exact, case-sensitive match. The identity is extracted from the grpc-metadata-x-user-id header, within the username field of the JWT token.
Common Mismatch Scenarios:
When these strings do not match perfectly, the organization.admin role's privileges cannot be granted to the session, effectively locking the user out of administrative functions. Without administrative privileges, access policies cannot be changed and reverted via the TMC SM GUI.
To resolve this issue, you must ensure the principle name in the Access Policy matches the exact value of the identity username in the authentication token. If the UI is inaccessible due to loss of administrative control, manual database intervention is required.
Please contact Broadcom technical support for performing the database updates.