Vulcan/packages
Charlie DeTar ed09d0ea7c Fully abstract isAdmin
We're using a fork with a different definition of "isAdmin" (using
``meteor-roles`` rather than the boolean user.isAdmin).  ``lib/user.js``
provides abstracted methods for reading admin state, which makes it very
easy to change our definition -- except that the abstractions weren't
used universally.

This commit finishes the job of using the abstractions, and adds a few
new parts to also allow abstracting setting and updating admin-ness:

 - setAdmin: sets admin status directly on a user object.
 - updateAdmin: executes a mongo update to set admin status.
 - adminMongoQuery: the query parameter for admin-ness, for composing
   user queries with other fields.
 - notAdminMongoQuery: the query parameter for not-admin-ness.
2014-10-03 16:21:06 -06:00
..
npm-container updating meteor 2014-09-26 12:03:59 +09:00
telescope-api updating meteor 2014-09-26 12:03:59 +09:00
telescope-base updating meteor 2014-09-26 12:03:59 +09:00
telescope-daily rename getParameters to getPostParameters 2014-09-29 15:42:35 +08:00
telescope-email updating meteor 2014-09-26 12:03:59 +09:00
telescope-i18n updating meteor 2014-09-26 12:03:59 +09:00
telescope-kadira splitting settings form into field sets 2014-09-28 16:31:12 +09:00
telescope-lib splitting settings form into field sets 2014-09-28 16:31:12 +09:00
telescope-module-embedly splitting settings form into field sets 2014-09-28 16:31:12 +09:00
telescope-module-share updating meteor 2014-09-26 12:03:59 +09:00
telescope-newsletter Merge branch 'master' of github.com:TelescopeJS/Telescope 2014-09-30 15:53:44 +09:00
telescope-notifications Adding instructions to settings form 2014-09-29 10:15:21 +09:00
telescope-rss use getPostsParameters on posts rss 2014-09-29 16:31:41 +08:00
telescope-search Fully abstract isAdmin 2014-10-03 16:21:06 -06:00
telescope-tags updating meteor 2014-09-26 12:03:59 +09:00
telescope-theme-base Minor form tweaks 2014-09-29 15:40:09 +09:00
telescope-theme-hubble updating meteor 2014-09-26 12:03:59 +09:00
telescope-update-prompt updating meteor 2014-09-26 12:03:59 +09:00
.gitignore add embedly and newsletter packages 2014-08-29 10:37:35 +09:00