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 167 forks source link

Configure exclusive roles #250

Closed merlinstardust closed 4 years ago

merlinstardust commented 7 years ago

Can a configuration option be added to make certain roles mutually exclusive from each other?

mitar commented 7 years ago

I think this is something you could manage on your own?

merlinstardust commented 7 years ago

I could, but I feel like this is a natural fit for this package.

mitar commented 7 years ago

Not sure how to make this extensible though. I think there could be probably many different more complicated conditions you might have which roles can co-exist?

mitar commented 4 years ago

A 3rd party extension could provide that.