7ab3aff82f
The JS binding used to conflate `SyncUser::is_admin()` with the user being created by calling `Realm.Sync.User.adminToken()`, but now that we expose a user’s role on the server under `is_admin()` this supposition is no longer correct. #1097 attempted to fix one such case, but fixing it only uncovered another: in `UserClass<T>::all_users()`. I’ve gone through all the callsites of `SyncUser::is_admin()` to make sure they don’t assume an admin token user. |
||
---|---|---|
.. | ||
browser | ||
.eslintrc.json | ||
.npmignore | ||
collection-methods.js | ||
errors.js | ||
extensions.js | ||
index.d.ts | ||
index.js | ||
management-schema.js | ||
submit-analytics.js | ||
user-methods.js |