{"action":"created","issue":{"url":"https://api.github.com/repos/artesaos/defender/issues/40","labels_url":"https://api.github.com/repos/artesaos/defender/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/artesaos/defender/issues/40/comments","events_url":"https://api.github.com/repos/artesaos/defender/issues/40/events","html_url":"https://github.com/artesaos/defender/pull/40","id":84252467,"number":40,"title":"Extra columns for tables role and permissions","user":{"login":"rodurma","id":79693,"avatar_url":"https://avatars.githubusercontent.com/u/79693?v=3","gravatar_id":"","url":"https://api.github.com/users/rodurma","html_url":"https://github.com/rodurma","followers_url":"https://api.github.com/users/rodurma/followers","following_url":"https://api.github.com/users/rodurma/following{/other_user}","gists_url":"https://api.github.com/users/rodurma/gists{/gist_id}","starred_url":"https://api.github.com/users/rodurma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodurma/subscriptions","organizations_url":"https://api.github.com/users/rodurma/orgs","repos_url":"https://api.github.com/users/rodurma/repos","events_url":"https://api.github.com/users/rodurma/events{/privacy}","received_events_url":"https://api.github.com/users/rodurma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-02T23:02:57Z","updated_at":"2015-06-03T01:21:51Z","closed_at":"2015-06-03T01:21:51Z","pull_request":{"url":"https://api.github.com/repos/artesaos/defender/pulls/40","html_url":"https://github.com/artesaos/defender/pull/40","diff_url":"https://github.com/artesaos/defender/pull/40.diff","patch_url":"https://github.com/artesaos/defender/pull/40.patch"},"body":"Extra columns for tables role and permissions\r\n\r\n```php\r\n        Defender::createRole('plan_platinum_a');\r\n        \r\n        Defender::createRole('plan_platinum_b', [\r\n            'readable_name' => 'Role B',\r\n            'extra' => 'Informações extras da coluna'\r\n        ]);\r\n        \r\n        Defender::createPermission('minha.1');\r\n        \r\n        Defender::createPermission('minha.2', 'Minha 2');\r\n        \r\n        Defender::createPermission('minha.3', [\r\n            'readable_name' => 'Minha 3',\r\n            'minha_coluna' => 'Meu segundo valor'\r\n        ]);\r\n```"},"comment":{"url":"https://api.github.com/repos/artesaos/defender/issues/comments/108150742","html_url":"https://github.com/artesaos/defender/pull/40#issuecomment-108150742","issue_url":"https://api.github.com/repos/artesaos/defender/issues/40","id":108150742,"user":{"login":"vinicius73","id":1561347,"avatar_url":"https://avatars.githubusercontent.com/u/1561347?v=3","gravatar_id":"","url":"https://api.github.com/users/vinicius73","html_url":"https://github.com/vinicius73","followers_url":"https://api.github.com/users/vinicius73/followers","following_url":"https://api.github.com/users/vinicius73/following{/other_user}","gists_url":"https://api.github.com/users/vinicius73/gists{/gist_id}","starred_url":"https://api.github.com/users/vinicius73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinicius73/subscriptions","organizations_url":"https://api.github.com/users/vinicius73/orgs","repos_url":"https://api.github.com/users/vinicius73/repos","events_url":"https://api.github.com/users/vinicius73/events{/privacy}","received_events_url":"https://api.github.com/users/vinicius73/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T01:21:51Z","updated_at":"2015-06-03T01:21:51Z","body":"Please do the fork again."}}