Eric Traut
a2f62e88cf
Route permission shortcuts through the shared selection flow ( #46013 )
...
## Why
Permission shortcuts updated local permission state as soon as the server accepted the settings request, before receiving the server's settings notification.
## What changed
Use `select_permission_profile` for session-only permission shortcuts so local permissions follow the server's `ThreadSettingsUpdated` notification. Report the selection as requested while it is pending, and use the shared rejection messages. Include the full error chain when permission selection fails.
## Testing
Update shortcut tests to verify that local permissions remain unchanged until the settings notification arrives, pending state clears afterward, and `config.toml` remains unchanged. Update rejection snapshots for unsupported servers and server errors.
GitOrigin-RevId: 0ecd3d8b0698a039bf354d83b25b64b4c38fb45f
2026-09-16 19:58:06 +00:00
..
2026-09-16 16:41:32 +00:00
2026-09-16 19:58:06 +00:00
2026-07-17 23:19:12 +00:00
2026-08-31 21:36:49 +00:00
2026-09-03 06:02:25 +00:00
2026-09-14 15:30:22 +00:00
2026-08-26 23:58:10 +00:00
2026-09-10 06:06:21 +00:00
2026-09-16 16:41:32 +00:00
2026-09-13 16:14:41 +00:00
2026-09-12 04:29:48 +00:00
2026-09-13 16:14:41 +00:00
2026-09-12 02:24:02 +00:00
2026-09-13 16:14:41 +00:00
2026-09-16 16:56:18 +00:00
2026-09-13 18:53:06 +00:00
2026-09-13 18:53:06 +00:00
2026-09-16 18:21:22 +00:00
2026-09-13 16:14:41 +00:00
2026-09-12 04:29:48 +00:00
2026-09-12 04:29:48 +00:00
2026-09-16 16:41:32 +00:00
2026-09-16 19:15:53 +00:00
2026-09-11 20:27:37 +00:00
2026-09-15 19:01:41 +00:00
2026-09-08 05:39:17 +00:00
2026-09-02 21:50:51 +00:00
2026-09-15 19:13:08 +00:00
2026-09-16 19:58:06 +00:00
2026-08-17 19:11:34 +00:00
2026-08-17 19:11:34 +00:00
2026-09-16 03:43:59 +00:00
2026-09-16 03:43:59 +00:00
2026-09-16 19:58:06 +00:00
2026-09-01 00:02:38 +00:00
2026-09-05 22:16:26 +00:00
2026-09-05 22:16:26 +00:00
2026-08-23 01:29:48 +00:00
2026-09-07 19:01:08 +00:00
2026-09-07 19:01:08 +00:00
2026-09-07 19:01:08 +00:00
2026-06-03 20:30:15 -03:00
2026-09-15 19:13:08 +00:00
2026-09-13 16:14:41 +00:00
2026-09-04 21:17:25 +00:00
2026-09-11 17:08:59 +00:00
2026-09-07 20:25:30 +00:00
2026-09-16 01:50:50 +00:00
2026-09-11 00:59:27 +00:00
2026-09-08 05:12:10 +00:00
2026-09-16 19:58:06 +00:00
2026-09-02 04:20:38 +00:00
2026-09-16 01:50:27 +00:00
2026-08-05 04:54:33 +00:00
2026-09-02 21:50:51 +00:00
2026-09-11 06:56:37 +00:00
2026-09-10 19:14:57 +00:00
2026-09-08 21:41:02 +00:00
2026-09-12 18:16:17 +00:00
2026-09-12 18:16:17 +00:00
2026-09-12 20:22:47 +00:00
2026-09-16 01:01:26 +00:00
2026-09-03 00:36:29 +00:00
2026-09-02 04:20:38 +00:00
2026-09-02 04:20:38 +00:00
2026-09-13 16:14:41 +00:00
2026-08-04 19:12:46 +00:00
2026-09-07 03:19:57 +00:00
2026-09-16 03:43:59 +00:00
2026-09-16 19:15:53 +00:00
2026-09-07 06:43:23 +00:00
2026-09-10 21:42:01 +00:00
2026-09-09 17:56:33 +00:00
2026-09-03 20:25:59 +00:00
2026-09-16 16:46:10 +00:00
2026-09-16 03:43:59 +00:00
2026-09-16 19:15:53 +00:00
2026-08-25 03:08:33 +00:00
2026-08-17 21:03:06 +00:00
2026-09-16 00:21:49 +00:00
2026-08-18 18:50:58 +00:00
2026-09-16 19:15:53 +00:00
2026-09-16 00:21:49 +00:00
2026-09-16 01:50:27 +00:00
2026-09-12 20:22:47 +00:00
2026-09-12 20:22:47 +00:00
2026-09-08 03:15:37 +00:00
2026-09-02 04:20:38 +00:00
2026-09-08 05:12:10 +00:00
2026-09-08 05:12:10 +00:00
2026-09-08 05:39:17 +00:00
2026-09-08 05:39:17 +00:00
2026-09-08 05:39:17 +00:00
2026-09-08 05:39:17 +00:00
2026-09-11 17:08:59 +00:00