{"action":"created","issue":{"url":"https://api.github.com/repos/VentureCraft/revisionable/issues/77","repository_url":"https://api.github.com/repos/VentureCraft/revisionable","labels_url":"https://api.github.com/repos/VentureCraft/revisionable/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/VentureCraft/revisionable/issues/77/comments","events_url":"https://api.github.com/repos/VentureCraft/revisionable/issues/77/events","html_url":"https://github.com/VentureCraft/revisionable/issues/77","id":39080670,"number":77,"title":"Support for  Multiauth  (or custom driver)","user":{"login":"zofe","id":261951,"avatar_url":"https://avatars1.githubusercontent.com/u/261951?v=3","gravatar_id":"","url":"https://api.github.com/users/zofe","html_url":"https://github.com/zofe","followers_url":"https://api.github.com/users/zofe/followers","following_url":"https://api.github.com/users/zofe/following{/other_user}","gists_url":"https://api.github.com/users/zofe/gists{/gist_id}","starred_url":"https://api.github.com/users/zofe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zofe/subscriptions","organizations_url":"https://api.github.com/users/zofe/orgs","repos_url":"https://api.github.com/users/zofe/repos","events_url":"https://api.github.com/users/zofe/events{/privacy}","received_events_url":"https://api.github.com/users/zofe/received_events","type":"User","site_admin":false},"labels":[{"id":51036806,"url":"https://api.github.com/repos/VentureCraft/revisionable/labels/confirmed","name":"confirmed","color":"009800","default":false},{"id":30857791,"url":"https://api.github.com/repos/VentureCraft/revisionable/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/VentureCraft/revisionable/milestones/3","html_url":"https://github.com/VentureCraft/revisionable/milestone/3","labels_url":"https://api.github.com/repos/VentureCraft/revisionable/milestones/3/labels","id":577477,"number":3,"title":"v2.0.0","description":null,"creator":{"login":"duellsy","id":330539,"avatar_url":"https://avatars2.githubusercontent.com/u/330539?v=3","gravatar_id":"","url":"https://api.github.com/users/duellsy","html_url":"https://github.com/duellsy","followers_url":"https://api.github.com/users/duellsy/followers","following_url":"https://api.github.com/users/duellsy/following{/other_user}","gists_url":"https://api.github.com/users/duellsy/gists{/gist_id}","starred_url":"https://api.github.com/users/duellsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duellsy/subscriptions","organizations_url":"https://api.github.com/users/duellsy/orgs","repos_url":"https://api.github.com/users/duellsy/repos","events_url":"https://api.github.com/users/duellsy/events{/privacy}","received_events_url":"https://api.github.com/users/duellsy/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2014-02-22T21:39:09Z","updated_at":"2017-03-20T22:01:38Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2014-07-30T10:50:06Z","updated_at":"2017-06-22T22:39:45Z","closed_at":null,"body":"First of all  You've done a really good package, thanks a lot.\n\nShould be a good thing to support multiple auth driver or to save also the \"model\" associated with the auth user.  In my case (an I think in many cases)  `Auth::user()` can be User,  Admin, or another model depending on current login.\n\nneeded stuffs are ..\n- in the revision table add a field  \"user_type\", and add a setter method to fill it on booting\n- by default \"user_type\" should save `get_class(Auth::user())` or a user defined class name.\n- to find _userResponsible_ revision model should use something like:  \n  `{$this->user_type}::find($this->user_id)`  instead of:  `\\Config::get('auth.model')`\n\nI'm extending my models from Revisionable  because I'm on laravel 4.1  and php5.3 (so no traits).\nI think I'll override postSave(), postDelete() and getUserId() in my Revisionable extended model,I'm on the right road?\n\nanyway  here are a lot of private methods and attributes (like getUserId(), $updating, ...) so my extended model  need to overwrite many things. Please consider to  switch private to protected in next relase.\n"},"comment":{"url":"https://api.github.com/repos/VentureCraft/revisionable/issues/comments/310522078","html_url":"https://github.com/VentureCraft/revisionable/issues/77#issuecomment-310522078","issue_url":"https://api.github.com/repos/VentureCraft/revisionable/issues/77","id":310522078,"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},"created_at":"2017-06-22T22:39:45Z","updated_at":"2017-06-22T22:39:45Z","body":"bump this please 👍"}}
{"actor":{"display_login":"codeitlikemiley"}}