{"action":"closed","issue":{"url":"https://api.github.com/repos/owen-it/laravel-auditing/issues/255","repository_url":"https://api.github.com/repos/owen-it/laravel-auditing","labels_url":"https://api.github.com/repos/owen-it/laravel-auditing/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/owen-it/laravel-auditing/issues/255/comments","events_url":"https://api.github.com/repos/owen-it/laravel-auditing/issues/255/events","html_url":"https://github.com/owen-it/laravel-auditing/issues/255","id":237998036,"number":255,"title":"Hope this can be use for multi auth","user":{"login":"codeitlikemiley","id":28816690,"avatar_url":"https://avatars3.githubusercontent.com/u/28816690?v=3","gravatar_id":"","url":"https://api.github.com/users/codeitlikemiley","html_url":"https://github.com/codeitlikemiley","followers_url":"https://api.github.com/users/codeitlikemiley/followers","following_url":"https://api.github.com/users/codeitlikemiley/following{/other_user}","gists_url":"https://api.github.com/users/codeitlikemiley/gists{/gist_id}","starred_url":"https://api.github.com/users/codeitlikemiley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeitlikemiley/subscriptions","organizations_url":"https://api.github.com/users/codeitlikemiley/orgs","repos_url":"https://api.github.com/users/codeitlikemiley/repos","events_url":"https://api.github.com/users/codeitlikemiley/events{/privacy}","received_events_url":"https://api.github.com/users/codeitlikemiley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-22T23:05:42Z","updated_at":"2017-06-25T19:00:40Z","closed_at":"2017-06-25T19:00:40Z","body":"I see that you Only Have one Option of User Model...\r\n\r\nAlso the The database is hard coded for user_id\r\n\r\nhope you can make it use polymophic relationship\r\n\r\nmake it editorable_id and editorable_type\r\n\r\nthen make the config accept an array of Model define in your auth provider...\r\n\r\nfor example i have 3 provider user , employee and client...\r\n\r\neither we pass an array or pass a closure to determine the correct Model \r\n\r\nthen change the getLoggedInUserId to be use for multiple guard...\r\n\r\nI think its doable"}}
{"actor":{"display_login":"quetzyg"}}