britton-jb / sentinel

DEPRECATED - Phoenix Authentication library that wraps Guardian for extra functionality
MIT License
106 stars 19 forks source link

Multiple User Types #11

Closed britton-jb closed 7 years ago

britton-jb commented 8 years ago

Allow Sentinel to work with multiple model types, for example a regular user, and an admin user.

Probably not going to get to this until after Ueberauth integration, which will be V2.

britton-jb commented 7 years ago

After experience I've had with multiple user types on projects I've decided the way I'm going to advocate handling this is by bolting on account/role types onto the user rather than having to handle it here in Sentinel. This seems like it will be better for all parties.