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 (#3995)
## Summary
The Personal Access Tokens page now shows each token's maximum role in a
new column, so you can see at a glance what a token is capped to. The
column only appears when an RBAC plugin is installed, and shows "-" for
tokens with no cap. Its header tooltip reuses the same explanation shown
in the create-token panel.
// 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