Vulcan/client/views/posts/modules
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
..
post_actions.html improving base theme 2014-08-20 15:59:11 +09:00
post_actions.js working on mobile version; added new postHeading and postMeta hooks 2014-07-14 10:12:02 +09:00
post_admin.html Fully abstract isAdmin 2014-10-03 16:21:06 -06:00
post_admin.js another jQuery cache 2014-09-16 15:46:48 -04:00
post_comments_link.html Changed comments to CommentsCount; Now tracking _ids of commenters on each Post document 2014-08-22 10:31:05 +09:00
post_content.html making post modules use dynamic templates as well 2014-07-23 10:25:16 +09:00
post_content.js making post modules use dynamic templates as well 2014-07-23 10:25:16 +09:00
post_discuss.html Changed comments to CommentsCount; Now tracking _ids of commenters on each Post document 2014-08-22 10:31:05 +09:00
post_domain.html working on mobile version; added new postHeading and postMeta hooks 2014-07-14 10:12:02 +09:00
post_domain.js working on mobile version; added new postHeading and postMeta hooks 2014-07-14 10:12:02 +09:00
post_info.html various small css fixes 2014-09-16 11:51:13 +09:00
post_info.js another jQuery cache 2014-09-16 15:46:48 -04:00
post_title.html working on mobile version; added new postHeading and postMeta hooks 2014-07-14 10:12:02 +09:00
post_title.js working on mobile version; added new postHeading and postMeta hooks 2014-07-14 10:12:02 +09:00
post_upvote.html improving base theme 2014-08-20 15:59:11 +09:00
post_upvote.js removed the last few references to the old sign in flow - (trying to up up vote comments without being signed in etc.) 2014-09-08 01:52:09 +08:00