arangodb-dbg-user-401
See https://arangodb.atlassian.net/browse/BTS-294.
Before executing:
- start a local cluster reachable at
coordinator1:8529
andcoordinator2:8529
, with root passwordtest
- create a db user:
$ curl -u root:test http://coordinator1:8529/_api/user -d '{"user": "user", "passwd": "test"}'
execute
mvn compile
mvn exec:java -Dexec.mainClass=App
expected behavior:
{"error":false,"code":201,"result":true}
{"error":false,"code":200, ...
actual behavior:
{"error":false,"code":201,"result":true}
{"error":true,"errorNum":11,"errorMessage":"not authorized to execute this request","code":401}