Commit graph

7 commits

Author SHA1 Message Date
Charlie DeTar
6a155301e9 Fix usage of `can.edit` for users
Fix the ``changeEmail`` method's invocation signature of ``can.edit``,
and fix the definition of ``can.edit`` to allow it to work with users as
the "item".

Note that this relies on "_id" to be unique across collections.  Mongo
won't generate the same ID in two collections, but it is possible to
manually add an object to another collection with a duplicate ID.
2015-03-26 15:00:32 -06:00
Sacha Greif
625511aeb2 non-admins should not be able to access rejected posts 2015-02-22 09:05:47 +01:00
Sacha Greif
6c07c9cbab Don't let non-admins access pending posts. 2015-02-05 09:32:43 +09:00
Anthony Mayer
f197b930e6 Cleaning up vote click handling functions and adding tests.
Also combining can.upvote and can.downvote and deleting unused permissions function and random cleanup.
2015-01-19 00:04:41 -08:00
Anthony Mayer
df7c892e58 Fixing nav tests and cleanup.
Turning velocity back on and adding relevant packages to .meteor/versions
2015-01-07 08:22:58 +01:00
Anthony Mayer
f9d9891fba Getting rid of redundant permissions functions
Switched everything over to use can.* functions from telescope-lib instead of using can* functions from lib/permissions.js, deleted lib/permissions.js, added some tests for permissions, and some other random cleanup like deleting unused code.

Conflicts:
	client/views/comments/comment_form.js
2015-01-07 08:22:46 +01:00
Sacha Greif
2a911217e9 Making notifications into their own package 2014-09-20 09:57:09 +09:00