You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A people or level change made from the CLI reaches a running server at once #643
j5 pair --person and the j5 auth commands change people and levels by writing to the server's database from their own process. A running server doesn't hear about the change, so an open People page doesn't update until it's reloaded. The same may apply to a lowering made from the CLI: when it's done from the app, the person's open tab is cut at once and renews, and the CLI path hasn't been checked for that.
What's wanted
When a server is running for that home, the CLI makes the change through the server (j5 pair already finds the running server). The change then reaches open clients the same way one made in the app does.
Confirm, with a test, that lowering or removing a person from the CLI cuts their open connections at once.
With no server running, the CLI keeps writing directly, as today.
Activity
fix(j5): j5 pair --person goes through a running server
fix(j5): j5 pair --person goes through a running server (#717)