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 }}
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
Report the correct editing status to Unity. Fixes#934
There's two issues going on here
- The `loggedInUser` field wasn't getting seeded with user information on load,
so checking whether the current user owns a lock would always fail until the
connections changed event got triggered somehow
- `GetLock` didn't account for not having user information, so if the user was
logged out, it would default to not allowing any edits. Since the info wasn't
getting seeded, it would always report files as being locked by someone else.
It now defaults to allowing edits if the user isn't signed in. Now, this isn't
a bug, but if the user is not signed in, all bets are kinda off on validating
locks. We should probably warn the user that we can't check whether they own
the lock, but we should probably not lock down Unity entirely because of it.
0 commit comments