-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactors dashboard state resolve to return true on failed query
If anything other than a truthy value is returned, ui-router's resolve flips out and throws a state change error. SUI has state change errors written to then flipout and kick users outta da app. So when the rbac doesn't match, the query wont be made, the 403 won't ever prevent the state from resolving. Long term fix, this needs to be rewritten sans resolve
- Loading branch information
Showing
1 changed file
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters