mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
ac9c5784ee
When an MCP client registers via DCR and redirects the user to authorize, the consent screen now shows checkboxes instead of a read-only scope list. The user can grant any subset of the scopes the client requested — the same level of control as when creating a client manually from user settings. - selectedScopes state initialized from validation.scopes (all pre-checked) - Group-level indeterminate checkbox to select/deselect an entire category - Approve button reflects selection count and is disabled when nothing selected - Auto-approve path (consent already on record) bypasses selection and passes the existing granted scopes directly