Question for maintainers before #17308 can be considered.
#10298 set the policy that existing credentials keep exactly their recorded scopes across the split, and removed 050_ExpandLegacyAuthScopes (comment). For paired clients that is clearly intended. Should T3 Connect (cloud-connect) sessions fall under the same rule?
How they differ from paired sessions:
- The server chooses their grant at mint time (
AuthStandardClientScopesinCloudLink). The user never picks it. - They last at most an hour.
- A fresh mint on an updated host already returns the split permissions.
Right now, a device that connected shortly before the host updated loses folder browsing and other split permissions until its token renews. Meanwhile PermissionUpdateNotice tells the user to pair again with a link, which T3 Connect users can't do.
Options I see:
- Exempt them. Revoke live pre-split
cloud-connectsessions once on upgrade so clients mint replacements (#17308, a one-time migration). Paired sessions are untouched and no stored grant is widened. Older clients that request pre-split scopes get the same narrowed grant back. - Keep the policy, fix only the recovery advice. For T3 Connect connections, the notice would say permissions update when the connection renews, instead of asking for a new pairing.
- Leave it as is.
This mostly matters for stable users upgrading from 0.0.45 to the first release with the split. I can rework #17308 for whichever direction you prefer, or close it.