Skip to content

Commit

Permalink
Merge pull request #21 from LyricTian/develop
Browse files Browse the repository at this point in the history
Fixed load casbin policy
  • Loading branch information
LyricTian committed Apr 21, 2019
2 parents 7eb3b44 + 3607306 commit 612f1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/ginadmin/init_data.go
Expand Up @@ -29,7 +29,7 @@ func loadCasbinPolicyData(ctx context.Context, obj *Object) error {
return err
}

return obj.Bll.Role.LoadAllPolicy(ctx)
return obj.Bll.User.LoadAllPolicy(ctx)
}

// initMenuData 初始化菜单数据
Expand Down

0 comments on commit 612f1b8

Please sign in to comment.