Commit ce6b1492 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/rbac' into 'master'

fix See merge request !46
parents 8d1b0bf2 aee996fa
......@@ -18,7 +18,7 @@ func AUTH() gin.HandlerFunc {
}
handlerName := strings.Split(ctx.HandlerName(), ".")[1]
handleAlowed := []string{"GetCoinChains", "GetUserChains"}
handleAlowed := []string{"GetCoinChains", "GetUserChains", "AddOperationLog"}
_, handle := util.Contains(handleAlowed, handlerName)
if !handle {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment