managed-users
managed-users copied to clipboard
A Managed User system (for Meteor), with a single administrator account (admin), with the ability to create/modify accounts, and set permissions.
Thanks for contributing this. Would it be correct to assume you need a mail server setup to send the password reset email upon new user creation, and that users must...
Meteor.user() and Meteor.userId() can't be called from Meteor.publish functions. This commit adds an optional `userId` argument to `isAdmin` and `hasPermission`, allowing permissions to be checked from publish functions.
This would be so they can update their email address and see their username, which they aren't necessarily told even with the invite email. I'm not sure if `{{managedUsers}}` provides...
It would be really cool to be able to create specific permissions with this, and then group them into roles under meteor-roles.