Skip to content

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

Open
CiscoKidxx wants to merge 3 commits intosahat:masterfrom
CiscoKidxx:master
Open

feat: Added optional role based authentication support using angular-permission#942
CiscoKidxx wants to merge 3 commits intosahat:masterfrom
CiscoKidxx:master

Conversation

@CiscoKidxx
Copy link
Copy Markdown

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
Copy Markdown

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