add log cache role

This commit is contained in:
Hoang 2021-12-07 16:45:38 +07:00
parent ae971f1556
commit 55dff6d477
1 changed files with 5 additions and 1 deletions

6
cache/role.go vendored
View File

@ -47,7 +47,11 @@ func Roles() {
}) })
return return
} }
log.Println("role", entry) log.Println("role", CachedRole{
Role: role.Code,
IsAdmin: role.IsAdmin,
Permissions: rolePermissions,
})
}(value) }(value)
} }