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

fix(core): Client routes guest access bug #1100

Merged
merged 1 commit into from
Dec 31, 2015

Commits on Dec 30, 2015

  1. fix(core): Client routes guest access bug

    Adds a check for the existence of the "guest" role in the state configuration
    that we're transitioning to, in the core $stateChangeStart event handler. If
    it exists, then we allow access.
    
    Also, added validation of Authentication.user object. While writing
    tests, I ran into an issue here when the Authentication service wasn't injected
    into a controller. Probably best to have this check in place.
    
    Fixes meanjs#1098
    mleanos committed Dec 30, 2015
    Configuration menu
    Copy the full SHA
    bfcfb55 View commit details
    Browse the repository at this point in the history