{"action":"created","issue":{"url":"https://api.github.com/repos/owen-it/laravel-auditing/issues/407","repository_url":"https://api.github.com/repos/owen-it/laravel-auditing","labels_url":"https://api.github.com/repos/owen-it/laravel-auditing/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/owen-it/laravel-auditing/issues/407/comments","events_url":"https://api.github.com/repos/owen-it/laravel-auditing/issues/407/events","html_url":"https://github.com/owen-it/laravel-auditing/issues/407","id":313235270,"number":407,"title":"Use case : Moderation of data and approvals","user":{"login":"SkyKOG","id":422523,"avatar_url":"https://avatars2.githubusercontent.com/u/422523?v=4","gravatar_id":"","url":"https://api.github.com/users/SkyKOG","html_url":"https://github.com/SkyKOG","followers_url":"https://api.github.com/users/SkyKOG/followers","following_url":"https://api.github.com/users/SkyKOG/following{/other_user}","gists_url":"https://api.github.com/users/SkyKOG/gists{/gist_id}","starred_url":"https://api.github.com/users/SkyKOG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkyKOG/subscriptions","organizations_url":"https://api.github.com/users/SkyKOG/orgs","repos_url":"https://api.github.com/users/SkyKOG/repos","events_url":"https://api.github.com/users/SkyKOG/events{/privacy}","received_events_url":"https://api.github.com/users/SkyKOG/received_events","type":"User","site_admin":false},"labels":[{"id":250507465,"url":"https://api.github.com/repos/owen-it/laravel-auditing/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"quetzyg","id":1413966,"avatar_url":"https://avatars3.githubusercontent.com/u/1413966?v=4","gravatar_id":"","url":"https://api.github.com/users/quetzyg","html_url":"https://github.com/quetzyg","followers_url":"https://api.github.com/users/quetzyg/followers","following_url":"https://api.github.com/users/quetzyg/following{/other_user}","gists_url":"https://api.github.com/users/quetzyg/gists{/gist_id}","starred_url":"https://api.github.com/users/quetzyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quetzyg/subscriptions","organizations_url":"https://api.github.com/users/quetzyg/orgs","repos_url":"https://api.github.com/users/quetzyg/repos","events_url":"https://api.github.com/users/quetzyg/events{/privacy}","received_events_url":"https://api.github.com/users/quetzyg/received_events","type":"User","site_admin":false},"assignees":[{"login":"quetzyg","id":1413966,"avatar_url":"https://avatars3.githubusercontent.com/u/1413966?v=4","gravatar_id":"","url":"https://api.github.com/users/quetzyg","html_url":"https://github.com/quetzyg","followers_url":"https://api.github.com/users/quetzyg/followers","following_url":"https://api.github.com/users/quetzyg/following{/other_user}","gists_url":"https://api.github.com/users/quetzyg/gists{/gist_id}","starred_url":"https://api.github.com/users/quetzyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quetzyg/subscriptions","organizations_url":"https://api.github.com/users/quetzyg/orgs","repos_url":"https://api.github.com/users/quetzyg/repos","events_url":"https://api.github.com/users/quetzyg/events{/privacy}","received_events_url":"https://api.github.com/users/quetzyg/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-11T09:07:21Z","updated_at":"2018-04-12T09:54:05Z","closed_at":null,"author_association":"NONE","body":"| Q                 | A\r\n| ----------------- | ---\r\n| Bug?              | no\r\n| New Feature?      | no\r\n| Framework         | Laravel|Lumen\r\n\r\nHi everyone! \r\n\r\nThanks for the wonderful plugin. I read here in this article that `laravel-auditing` can be used to manage model diffs and audit presentation. Can this concept be used to manage moderation for a given model? \r\n\r\nMy exact use case is that a user would modify a blog article from our frontend which gets published. Another user might choose to make amends to this article. A moderator needs to approve these amends to trigger a change in the original article thereby causing the original article to be updated with the new version. \r\n\r\nCan this use case be implemented? currently we are using a dummy copy to maintain duplicates until an admin approves. \r\n\r\nThanks \r\n-Akash\r\n"},"comment":{"url":"https://api.github.com/repos/owen-it/laravel-auditing/issues/comments/380745902","html_url":"https://github.com/owen-it/laravel-auditing/issues/407#issuecomment-380745902","issue_url":"https://api.github.com/repos/owen-it/laravel-auditing/issues/407","id":380745902,"user":{"login":"quetzyg","id":1413966,"avatar_url":"https://avatars3.githubusercontent.com/u/1413966?v=4","gravatar_id":"","url":"https://api.github.com/users/quetzyg","html_url":"https://github.com/quetzyg","followers_url":"https://api.github.com/users/quetzyg/followers","following_url":"https://api.github.com/users/quetzyg/following{/other_user}","gists_url":"https://api.github.com/users/quetzyg/gists{/gist_id}","starred_url":"https://api.github.com/users/quetzyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quetzyg/subscriptions","organizations_url":"https://api.github.com/users/quetzyg/orgs","repos_url":"https://api.github.com/users/quetzyg/repos","events_url":"https://api.github.com/users/quetzyg/events{/privacy}","received_events_url":"https://api.github.com/users/quetzyg/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T09:54:05Z","updated_at":"2018-04-12T09:54:05Z","author_association":"MEMBER","body":"Hi @SkyKOG\r\n\r\nThe way this package works, doesn't currently allow for the use case you have described. Mainly because the audits are created once a model is modified (which you only want, after a user approves the change).\r\n\r\nBut let me think about it."}}
{"actor":{"display_login":"quetzyg"}}