{"action":"created","issue":{"url":"https://api.github.com/repos/flarum/core/issues/917","repository_url":"https://api.github.com/repos/flarum/core","labels_url":"https://api.github.com/repos/flarum/core/issues/917/labels{/name}","comments_url":"https://api.github.com/repos/flarum/core/issues/917/comments","events_url":"https://api.github.com/repos/flarum/core/issues/917/events","html_url":"https://github.com/flarum/core/issues/917","id":146374693,"number":917,"title":"Permissions - Reply to discussion negates Start discussions","user":{"login":"kulga","id":17034207,"avatar_url":"https://avatars.githubusercontent.com/u/17034207?v=3","gravatar_id":"","url":"https://api.github.com/users/kulga","html_url":"https://github.com/kulga","followers_url":"https://api.github.com/users/kulga/followers","following_url":"https://api.github.com/users/kulga/following{/other_user}","gists_url":"https://api.github.com/users/kulga/gists{/gist_id}","starred_url":"https://api.github.com/users/kulga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulga/subscriptions","organizations_url":"https://api.github.com/users/kulga/orgs","repos_url":"https://api.github.com/users/kulga/repos","events_url":"https://api.github.com/users/kulga/events{/privacy}","received_events_url":"https://api.github.com/users/kulga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flarum/core/labels/Bug","name":"Bug","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/flarum/core/milestones/5","html_url":"https://github.com/flarum/core/milestones/0.1.0-beta.6","labels_url":"https://api.github.com/repos/flarum/core/milestones/5/labels","id":1488954,"number":5,"title":"0.1.0-beta.6","description":"","creator":{"login":"tobscure","id":128862,"avatar_url":"https://avatars.githubusercontent.com/u/128862?v=3","gravatar_id":"","url":"https://api.github.com/users/tobscure","html_url":"https://github.com/tobscure","followers_url":"https://api.github.com/users/tobscure/followers","following_url":"https://api.github.com/users/tobscure/following{/other_user}","gists_url":"https://api.github.com/users/tobscure/gists{/gist_id}","starred_url":"https://api.github.com/users/tobscure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobscure/subscriptions","organizations_url":"https://api.github.com/users/tobscure/orgs","repos_url":"https://api.github.com/users/tobscure/repos","events_url":"https://api.github.com/users/tobscure/events{/privacy}","received_events_url":"https://api.github.com/users/tobscure/received_events","type":"User","site_admin":false},"open_issues":71,"closed_issues":15,"state":"open","created_at":"2016-01-07T07:07:44Z","updated_at":"2016-04-29T11:28:12Z","due_on":"2016-05-12T14:30:00Z","closed_at":null},"comments":1,"created_at":"2016-04-06T17:02:56Z","updated_at":"2016-04-29T17:50:18Z","closed_at":null,"body":"using dev-master but also showed up on beta.5\r\n\r\nIf a user has permissions:\r\n\r\n* Allowed to Start Discussions\r\n* Not allowed Reply to Discussions\r\n\r\nThe user is unable to create a new discussion and when the user attempts to:\r\n\r\n```\r\n      \"status\": \"401\",\r\n      \"code\": \"permission_denied\"\r\n```\r\n___\r\nIf the user has their permissions changed:\r\n\r\n* Allowed to Start Discussions\r\n* Allowed Reply to Discussions\r\n\r\nThey can create a new discussion"},"comment":{"url":"https://api.github.com/repos/flarum/core/issues/comments/215828642","html_url":"https://github.com/flarum/core/issues/917#issuecomment-215828642","issue_url":"https://api.github.com/repos/flarum/core/issues/917","id":215828642,"user":{"login":"poush","id":1812082,"avatar_url":"https://avatars.githubusercontent.com/u/1812082?v=3","gravatar_id":"","url":"https://api.github.com/users/poush","html_url":"https://github.com/poush","followers_url":"https://api.github.com/users/poush/followers","following_url":"https://api.github.com/users/poush/following{/other_user}","gists_url":"https://api.github.com/users/poush/gists{/gist_id}","starred_url":"https://api.github.com/users/poush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poush/subscriptions","organizations_url":"https://api.github.com/users/poush/orgs","repos_url":"https://api.github.com/users/poush/repos","events_url":"https://api.github.com/users/poush/events{/privacy}","received_events_url":"https://api.github.com/users/poush/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T17:50:18Z","updated_at":"2016-04-29T17:50:18Z","body":"Can anyone tell me understanding the method https://github.com/flarum/core/blob/master/src/Core/Access/Gate.php#L183\r\n\r\nand \r\n\r\nhttps://github.com/flarum/core/blob/master/src/Core/Access/Gate.php#L183\r\n"}}