Skip to content

Commit

Permalink
fix: save on page /abe/list-url give everyone all the right to any route
Browse files Browse the repository at this point in the history
  • Loading branch information
wonknu committed Aug 11, 2017
1 parent 683f7ac commit 1b160e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/users/utils.js
Expand Up @@ -255,7 +255,7 @@ export function isUserAllowedOnRoute(workflow, currentRoute) {
return true
}

if (currentRoute.indexOf('abe/') === -1) {
if (currentRoute.indexOf('/abe') === -1) {
isAllowed = true
}

Expand Down

0 comments on commit 1b160e8

Please sign in to comment.