Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Conversation

@trainerbill
Copy link
Contributor

New PR for requiring client side roles. Props to @igorauad for the idea.

igorauad and others added 5 commits July 24, 2015 16:17
A state parameter was added for the routes that require user authentication. Now, everytime a statechange occurs, the destination state is checked and user is redirected to signin page if necessary. Note the state parameter is added within `data`, so that nested states can inherent its value.
@rhutchison
Copy link
Contributor

Supersedes #686

Great work @igorauad and @trainerbill

LGTM @lirantal

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why this sends the user to the signin route? Shouldn't it take them 'home'?

@lirantal
Copy link
Member

Closed #686
Thank you guys for the great work and collaboration on this.

@lirantal lirantal added this to the 0.4.0 milestone Jul 24, 2015
@lirantal lirantal self-assigned this Jul 24, 2015
lirantal added a commit that referenced this pull request Jul 24, 2015
@lirantal lirantal merged commit c8880ea into meanjs:0.4.0 Jul 24, 2015
@lirantal
Copy link
Member

@mleanos looks like I missed your comment there before merging in. @trainerbill ?

rhutchison added a commit to Gym/mean that referenced this pull request Jul 25, 2015
update displayName

implements meanjs#700 (client-side role security) on angular routes.
@rhutchison rhutchison mentioned this pull request Jul 25, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants