realm-js/lib
Yavor Georgiev 7ab3aff82f Expose admin users to JS (#1100)
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.
2017-06-27 20:32:34 +02:00
..
browser Added method to find index of object in collections (#1094) 2017-06-26 13:43:49 +02:00
.eslintrc.json Bumped version of ESLint, added eslinting of specs, make all linting pass 2016-11-14 10:48:50 -08:00
.npmignore Ignore more things when publishing with NPM 2016-01-22 16:43:53 -08:00
collection-methods.js Added method to find index of object in collections (#1094) 2017-06-26 13:43:49 +02:00
errors.js Enable running android sync tests on macOS (#834) 2017-02-02 02:41:27 +01:00
extensions.js Do not throw when the Sync constructor isn’t there (#1086) 2017-06-20 15:40:54 +02:00
index.d.ts Make ssl SyncConfiguration parameters optional 2017-06-20 10:13:33 -07:00
index.js Merge pull request #1062 from realm/blagoev/fix-RN-debug-with-vscode 2017-06-13 12:27:45 +03:00
management-schema.js Add Permissions models and User Management Realm API (#824) 2017-01-31 22:56:09 +01:00
submit-analytics.js Fix analytics buffer creation (#913) 2017-03-15 11:23:14 +01:00
user-methods.js Expose admin users to JS (#1100) 2017-06-27 20:32:34 +02:00