{"action":"created","issue":{"url":"https://api.github.com/repos/JosephSilber/bouncer/issues/105","repository_url":"https://api.github.com/repos/JosephSilber/bouncer","labels_url":"https://api.github.com/repos/JosephSilber/bouncer/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/JosephSilber/bouncer/issues/105/comments","events_url":"https://api.github.com/repos/JosephSilber/bouncer/issues/105/events","html_url":"https://github.com/JosephSilber/bouncer/issues/105","id":166337612,"number":105,"title":"Is there a way to just create role without abilities?","user":{"login":"icodebuster","id":1160545,"avatar_url":"https://avatars.githubusercontent.com/u/1160545?v=3","gravatar_id":"","url":"https://api.github.com/users/icodebuster","html_url":"https://github.com/icodebuster","followers_url":"https://api.github.com/users/icodebuster/followers","following_url":"https://api.github.com/users/icodebuster/following{/other_user}","gists_url":"https://api.github.com/users/icodebuster/gists{/gist_id}","starred_url":"https://api.github.com/users/icodebuster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icodebuster/subscriptions","organizations_url":"https://api.github.com/users/icodebuster/orgs","repos_url":"https://api.github.com/users/icodebuster/repos","events_url":"https://api.github.com/users/icodebuster/events{/privacy}","received_events_url":"https://api.github.com/users/icodebuster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-19T13:55:48Z","updated_at":"2016-07-19T13:58:21Z","closed_at":null,"body":"I am trying to create a RolesTableSeeder to create some roles by default.\r\nHere is the code that I was trying.\r\n\r\n    <?php\r\n\r\n    use Illuminate\\Database\\Seeder;\r\n\r\n    class RolesTableSeeder extends Seeder\r\n    {\r\n        public function run()\r\n        {\r\n            Bouncer::allow('SuperAdmin');\r\n            Bouncer::allow('Admin');\r\n            Bouncer::allow('Moderator');\r\n            Bouncer::allow('User');\r\n        }\r\n    }\r\n\r\nThe above code did not create any roles in the database.\r\n\r\nI just need only the roles for time being."},"comment":{"url":"https://api.github.com/repos/JosephSilber/bouncer/issues/comments/233641224","html_url":"https://github.com/JosephSilber/bouncer/issues/105#issuecomment-233641224","issue_url":"https://api.github.com/repos/JosephSilber/bouncer/issues/105","id":233641224,"user":{"login":"icodebuster","id":1160545,"avatar_url":"https://avatars.githubusercontent.com/u/1160545?v=3","gravatar_id":"","url":"https://api.github.com/users/icodebuster","html_url":"https://github.com/icodebuster","followers_url":"https://api.github.com/users/icodebuster/followers","following_url":"https://api.github.com/users/icodebuster/following{/other_user}","gists_url":"https://api.github.com/users/icodebuster/gists{/gist_id}","starred_url":"https://api.github.com/users/icodebuster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icodebuster/subscriptions","organizations_url":"https://api.github.com/users/icodebuster/orgs","repos_url":"https://api.github.com/users/icodebuster/repos","events_url":"https://api.github.com/users/icodebuster/events{/privacy}","received_events_url":"https://api.github.com/users/icodebuster/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T13:58:21Z","updated_at":"2016-07-19T13:58:21Z","body":"Sorry,\r\nFigured out the solution you simply need to call the `to` method with empty array.\r\n\r\n    Bouncer::allow('ABC')->to([]);\r\n\r\n"}}
{"actor":{"display_login":"icodebuster"}}