@ -212,7 +212,7 @@ func AuthHandler(ctx *Context, server *GQLThread) func(http.ResponseWriter, *htt
},
new_user.ID(): LockInfo{
Node: &new_user,
Resources: []string{""},
Resources: nil,
}), func(context *StateContext) error {
server.Users[key_id] = &new_user
@ -143,7 +143,7 @@ func TestGQLDBLoad(t * testing.T) {
}
func TestGQLAuth(t * testing.T) {
ctx := logTestContext(t, []string{"policy"})
ctx := logTestContext(t, []string{"test", "gql", "policy"})
key, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
fatalErr(t, err)