Файли
openidea/crates/ide-host/tests
l0ng-ai 871dbd0a55 fix(remote): check trust and grants before a server reads plugin secrets (#8375)
A remote server asks the desktop for plugin secrets, secret writes and OAuth
listeners on behalf of the plugins it runs. The desktop answered for any
installed plugin, enabled or not, and returned a declared secret without a
`secrets` grant, even while the remote project was still in Restricted Mode.

- Secret, secret-write and OAuth requests and plugin events from the server
  are handled only once this machine trusts the remote project.
- They are answered only for plugins the desktop syncs to servers and that are
  enabled; reading a secret also needs the `secrets` grant, as writing one
  already did.
- A server's OAuth wait is capped at ten minutes; a disconnect still ends it.
2026-12-06 20:09:42 +08:00
..