{"action":"created","issue":{"url":"https://api.github.com/repos/arangodb/arangodb/issues/1916","repository_url":"https://api.github.com/repos/arangodb/arangodb","labels_url":"https://api.github.com/repos/arangodb/arangodb/issues/1916/labels{/name}","comments_url":"https://api.github.com/repos/arangodb/arangodb/issues/1916/comments","events_url":"https://api.github.com/repos/arangodb/arangodb/issues/1916/events","html_url":"https://github.com/arangodb/arangodb/issues/1916","id":163145340,"number":1916,"title":"Services page not opening after disabling all authentication in config files","user":{"login":"sajeevpr","id":7032262,"avatar_url":"https://avatars.githubusercontent.com/u/7032262?v=3","gravatar_id":"","url":"https://api.github.com/users/sajeevpr","html_url":"https://github.com/sajeevpr","followers_url":"https://api.github.com/users/sajeevpr/followers","following_url":"https://api.github.com/users/sajeevpr/following{/other_user}","gists_url":"https://api.github.com/users/sajeevpr/gists{/gist_id}","starred_url":"https://api.github.com/users/sajeevpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajeevpr/subscriptions","organizations_url":"https://api.github.com/users/sajeevpr/orgs","repos_url":"https://api.github.com/users/sajeevpr/repos","events_url":"https://api.github.com/users/sajeevpr/events{/privacy}","received_events_url":"https://api.github.com/users/sajeevpr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/arangodb/arangodb/milestones/26","html_url":"https://github.com/arangodb/arangodb/milestones/3.0.1","labels_url":"https://api.github.com/repos/arangodb/arangodb/milestones/26/labels","id":1846824,"number":26,"title":"3.0.1","description":null,"creator":{"login":"fceller","id":392005,"avatar_url":"https://avatars.githubusercontent.com/u/392005?v=3","gravatar_id":"","url":"https://api.github.com/users/fceller","html_url":"https://github.com/fceller","followers_url":"https://api.github.com/users/fceller/followers","following_url":"https://api.github.com/users/fceller/following{/other_user}","gists_url":"https://api.github.com/users/fceller/gists{/gist_id}","starred_url":"https://api.github.com/users/fceller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fceller/subscriptions","organizations_url":"https://api.github.com/users/fceller/orgs","repos_url":"https://api.github.com/users/fceller/repos","events_url":"https://api.github.com/users/fceller/events{/privacy}","received_events_url":"https://api.github.com/users/fceller/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":2,"state":"open","created_at":"2016-06-24T08:51:34Z","updated_at":"2016-06-30T12:28:56Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-06-30T11:43:24Z","updated_at":"2016-06-30T12:40:01Z","closed_at":null,"body":"Hello team,\r\n  I am getting the below error when I tried to access the services page. This is coming in the developer console. I disabled all authentication in config files.\r\n\r\nhttp://ldnpsr000001183:8529/_db/_system/_admin/aardvark/foxxes\r\n\r\n{\"error\":true,\"errorNum\":400,\"errorMessage\":\"header \\\"authorization\\\" is required\",\"code\":400}\r\n\r\nRegards,\r\nSajeev"},"comment":{"url":"https://api.github.com/repos/arangodb/arangodb/issues/comments/229646223","html_url":"https://github.com/arangodb/arangodb/issues/1916#issuecomment-229646223","issue_url":"https://api.github.com/repos/arangodb/arangodb/issues/1916","id":229646223,"user":{"login":"jsteemann","id":1423118,"avatar_url":"https://avatars.githubusercontent.com/u/1423118?v=3","gravatar_id":"","url":"https://api.github.com/users/jsteemann","html_url":"https://github.com/jsteemann","followers_url":"https://api.github.com/users/jsteemann/followers","following_url":"https://api.github.com/users/jsteemann/following{/other_user}","gists_url":"https://api.github.com/users/jsteemann/gists{/gist_id}","starred_url":"https://api.github.com/users/jsteemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsteemann/subscriptions","organizations_url":"https://api.github.com/users/jsteemann/orgs","repos_url":"https://api.github.com/users/jsteemann/repos","events_url":"https://api.github.com/users/jsteemann/events{/privacy}","received_events_url":"https://api.github.com/users/jsteemann/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T12:40:00Z","updated_at":"2016-06-30T12:40:00Z","body":"I think that should be doable. This is the commit that should have fixed it:\r\n```diff\r\ncommit 189af6f4990a5d110f17a1a51286d57de85544ea\r\nAuthor: Frank Celler <frank@arangodb.com>\r\nDate:   Thu Jun 23 10:05:32 2016 +0200\r\n\r\n    authorization is optional\r\n\r\ndiff --git a/js/apps/system/_admin/aardvark/APP/foxxes.js b/js/apps/system/_admin/aardvark/APP/foxxes.js\r\nindex ffb16ae..2e39f59 100644\r\n--- a/js/apps/system/_admin/aardvark/APP/foxxes.js\r\n+++ b/js/apps/system/_admin/aardvark/APP/foxxes.js\r\n@@ -52,7 +52,7 @@ router.use((req, res, next) => {\r\n   }\r\n   next();\r\n })\r\n-.header('authorization', joi.string().required(), 'ArangoDB credentials.');\r\n+.header('authorization', joi.string().optional(), 'ArangoDB credentials.');\r\n \r\n \r\n const foxxRouter = createRouter();\r\n```"}}
{"actor":{"display_login":"jsteemann"}}