{"action":"created","issue":{"url":"https://api.github.com/repos/kodeine/laravel-acl/issues/4","labels_url":"https://api.github.com/repos/kodeine/laravel-acl/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/kodeine/laravel-acl/issues/4/comments","events_url":"https://api.github.com/repos/kodeine/laravel-acl/issues/4/events","html_url":"https://github.com/kodeine/laravel-acl/issues/4","id":58958906,"number":4,"title":"[Suggestion]Soft deletes on pivot tables","user":{"login":"MarcoROG","id":6250285,"avatar_url":"https://avatars.githubusercontent.com/u/6250285?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoROG","html_url":"https://github.com/MarcoROG","followers_url":"https://api.github.com/users/MarcoROG/followers","following_url":"https://api.github.com/users/MarcoROG/following{/other_user}","gists_url":"https://api.github.com/users/MarcoROG/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoROG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoROG/subscriptions","organizations_url":"https://api.github.com/users/MarcoROG/orgs","repos_url":"https://api.github.com/users/MarcoROG/repos","events_url":"https://api.github.com/users/MarcoROG/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoROG/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kodeine/laravel-acl/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/kodeine/laravel-acl/labels/proposal","name":"proposal","color":"9EDEF3"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-25T19:48:55Z","updated_at":"2015-03-29T14:29:31Z","closed_at":null,"body":"First of all thanks for this awesome repo.\r\nI'd like to use this system to create a webapp dedicated to the management of a school.\r\nThe key is that many users will have temporary roles, and i should be able to keep track of them.\r\n\r\nTo do so, the most logic way is to introduce soft deletes on the pivot tables users_roles and user_permissions, so that, by using created_at and deleted_at you can detect how much an user has been in charge of a given role.\r\n\r\nIt'd be awesome if you could implement that since not all roles are persistent."},"comment":{"url":"https://api.github.com/repos/kodeine/laravel-acl/issues/comments/87421244","html_url":"https://github.com/kodeine/laravel-acl/issues/4#issuecomment-87421244","issue_url":"https://api.github.com/repos/kodeine/laravel-acl/issues/4","id":87421244,"user":{"login":"kodeine","id":8620059,"avatar_url":"https://avatars.githubusercontent.com/u/8620059?v=3","gravatar_id":"","url":"https://api.github.com/users/kodeine","html_url":"https://github.com/kodeine","followers_url":"https://api.github.com/users/kodeine/followers","following_url":"https://api.github.com/users/kodeine/following{/other_user}","gists_url":"https://api.github.com/users/kodeine/gists{/gist_id}","starred_url":"https://api.github.com/users/kodeine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kodeine/subscriptions","organizations_url":"https://api.github.com/users/kodeine/orgs","repos_url":"https://api.github.com/users/kodeine/repos","events_url":"https://api.github.com/users/kodeine/events{/privacy}","received_events_url":"https://api.github.com/users/kodeine/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T14:29:31Z","updated_at":"2015-03-29T14:29:31Z","body":"@MarcoROG \r\nsounds good man, feel free to send a PR."}}