Third stacked PR for scoped PAT extracted from the prototype #47783 to
ease reviewing.
Previous stacked PR is #47979
Next stacked PR is #47999
This PR add a way to view the tokens permissions
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added a “View permissions” option for scoped access tokens.
* Scoped token permissions now open in a dedicated viewing panel.
* Scoped token support is enabled by default.
* **Bug Fixes**
* Improved token deletion confirmation to clearly identify the selected
token.
* Deletion dialogs now close correctly after successful removal.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->