Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added optional role based authentication support using angular-permission #942

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

CiscoKidxx
Copy link

First PR ever. Please be kind.

I integrated angular-permission to support a role argument in the $auth.isAuthenticated() function. I included a node example as well.

Have a look and let me know what you think.

Cheers.

@CiscoKidxx CiscoKidxx changed the title feat: Added role based authentication support using angular-permission feat: Added optional role based authentication support using angular-permission Sep 7, 2016
@jjreicher
Copy link

Playing around with this pull--working well overall! Had a question for you: how would you structure things in order to set up a different landing page depending on the user role? In other words, for the "home" page on login to route to user_home.html for a user, admin_home.html for an admin, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants