{"action":"created","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/3178","repository_url":"https://api.github.com/repos/librenms/librenms","labels_url":"https://api.github.com/repos/librenms/librenms/issues/3178/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/3178/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/3178/events","html_url":"https://github.com/librenms/librenms/pull/3178","id":138975616,"number":3178,"title":"API access when using LDAP authentication","user":{"login":"Ultra2D","id":6758179,"avatar_url":"https://avatars.githubusercontent.com/u/6758179?v=3","gravatar_id":"","url":"https://api.github.com/users/Ultra2D","html_url":"https://github.com/Ultra2D","followers_url":"https://api.github.com/users/Ultra2D/followers","following_url":"https://api.github.com/users/Ultra2D/following{/other_user}","gists_url":"https://api.github.com/users/Ultra2D/gists{/gist_id}","starred_url":"https://api.github.com/users/Ultra2D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ultra2D/subscriptions","organizations_url":"https://api.github.com/users/Ultra2D/orgs","repos_url":"https://api.github.com/users/Ultra2D/repos","events_url":"https://api.github.com/users/Ultra2D/events{/privacy}","received_events_url":"https://api.github.com/users/Ultra2D/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/librenms/librenms/labels/API","name":"API","color":"66ccff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-03-07T13:15:16Z","updated_at":"2016-03-10T13:55:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/librenms/librenms/pulls/3178","html_url":"https://github.com/librenms/librenms/pull/3178","diff_url":"https://github.com/librenms/librenms/pull/3178.diff","patch_url":"https://github.com/librenms/librenms/pull/3178.patch"},"body":"Partly fixes #3069, but might break API access for authentication mechanisms that do store username and user_id in the database, but don't have the `get_user` function. Do those exist?\r\n\r\nThe `get_user` function I added is not pretty, but should do for now."},"comment":{"url":"https://api.github.com/repos/librenms/librenms/issues/comments/194851891","html_url":"https://github.com/librenms/librenms/pull/3178#issuecomment-194851891","issue_url":"https://api.github.com/repos/librenms/librenms/issues/3178","id":194851891,"user":{"login":"Ultra2D","id":6758179,"avatar_url":"https://avatars.githubusercontent.com/u/6758179?v=3","gravatar_id":"","url":"https://api.github.com/users/Ultra2D","html_url":"https://github.com/Ultra2D","followers_url":"https://api.github.com/users/Ultra2D/followers","following_url":"https://api.github.com/users/Ultra2D/following{/other_user}","gists_url":"https://api.github.com/users/Ultra2D/gists{/gist_id}","starred_url":"https://api.github.com/users/Ultra2D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ultra2D/subscriptions","organizations_url":"https://api.github.com/users/Ultra2D/orgs","repos_url":"https://api.github.com/users/Ultra2D/repos","events_url":"https://api.github.com/users/Ultra2D/events{/privacy}","received_events_url":"https://api.github.com/users/Ultra2D/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T13:55:17Z","updated_at":"2016-03-10T13:55:17Z","body":"@BarbarossaTM you added ldap-authorization. Could you perhaps test if API access works with these changes?"}}