Meteor-Community-Packages / meteor-roles

Authorization package for Meteor, compatible with built-in accounts packages
http://meteor-community-packages.github.io/meteor-roles/
MIT License
921 stars 168 forks source link

Question: How to create a role and a group without assigning a user #63

Closed rwatts3 closed 9 years ago

rwatts3 commented 10 years ago

Greetings,

I am using the yogiben:meteor-admin and yogiben:meteor-starter packages. I would like to create user roles without assinging a user right away since my application is hooked up to auto forms. For instance is there a way to create a role of Client , and Author then later assign a user to that role via the admin panel?

alanning commented 10 years ago

Hi Ryan,

This is more of a meteor-admin but you can create a role by inserting into the roles collection. Not sure what else meteor-admin requires but try that first.

On Tue, Oct 28, 2014 at 10:18 PM, Ryan Watts notifications@github.com wrote:

Greetings,

I am using the yogiben:meteor-admin and yogiben:meteor-starter packages. I would like to create user roles without assinging a user right away since my application is hooked up to auto forms. For instance is there a way to create a role of Client , and Author then later assign a user to that role via the admin panel?

— Reply to this email directly or view it on GitHub https://github.com/alanning/meteor-roles/issues/63.

rwatts3 commented 9 years ago

Thank you.