You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(webapp): show a PAT's maximum role on the tokens page
Add a "Maximum role" column to the Personal Access Tokens list showing the
role a token is capped to. The column only appears when an RBAC plugin is
installed and reads "-" for tokens with no cap. The header tooltip reuses the
same explanation shown when creating a token.
// Shared between the create-token panel hint and the listing column
60
+
// header tooltip so the cap is explained identically in both places.
61
+
constMAX_ROLE_EXPLANATION=
62
+
"The token can act with up to this role. Your current role in each org is the actual ceiling. The token never grants permissions that are beyond your own user role.";
63
+
59
64
// PATs aren't org-scoped, but the RBAC plugin's allRoles is org-keyed
60
65
// (a plugin may also expose org-defined custom roles alongside the
61
66
// global system roles). The picker shows the assignable system role
0 commit comments