{"action":"created","issue":{"url":"https://api.github.com/repos/civicrm/org.civicrm.module.cividiscount/issues/193","repository_url":"https://api.github.com/repos/civicrm/org.civicrm.module.cividiscount","labels_url":"https://api.github.com/repos/civicrm/org.civicrm.module.cividiscount/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/civicrm/org.civicrm.module.cividiscount/issues/193/comments","events_url":"https://api.github.com/repos/civicrm/org.civicrm.module.cividiscount/issues/193/events","html_url":"https://github.com/civicrm/org.civicrm.module.cividiscount/pull/193","id":316378949,"number":193,"title":"Implement 'administer CiviDiscount' permission","user":{"login":"MegaphoneJon","id":1796012,"avatar_url":"https://avatars3.githubusercontent.com/u/1796012?v=4","gravatar_id":"","url":"https://api.github.com/users/MegaphoneJon","html_url":"https://github.com/MegaphoneJon","followers_url":"https://api.github.com/users/MegaphoneJon/followers","following_url":"https://api.github.com/users/MegaphoneJon/following{/other_user}","gists_url":"https://api.github.com/users/MegaphoneJon/gists{/gist_id}","starred_url":"https://api.github.com/users/MegaphoneJon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MegaphoneJon/subscriptions","organizations_url":"https://api.github.com/users/MegaphoneJon/orgs","repos_url":"https://api.github.com/users/MegaphoneJon/repos","events_url":"https://api.github.com/users/MegaphoneJon/events{/privacy}","received_events_url":"https://api.github.com/users/MegaphoneJon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-20T19:06:59Z","updated_at":"2018-04-21T16:41:00Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/civicrm/org.civicrm.module.cividiscount/pulls/193","html_url":"https://github.com/civicrm/org.civicrm.module.cividiscount/pull/193","diff_url":"https://github.com/civicrm/org.civicrm.module.cividiscount/pull/193.diff","patch_url":"https://github.com/civicrm/org.civicrm.module.cividiscount/pull/193.patch"},"body":"There's a stub from pre-Civi 4.2 expressing the intent to add an 'administer CiviDiscount' permission.  This PR implements that permission, so you don't have to grant \"administer CiviCRM\" to work with discounts.  Existing installs will be unchanged, since \"administer CiviCRM\" will still get you all the access it used to.\r\n\r\nI also added CiviDiscount to the Events and Contributions menus since the Administer menu requires \"administer CiviCRM\".  I also removed the old stub, since it referenced the incorrect name for the hook that was eventually created."},"comment":{"url":"https://api.github.com/repos/civicrm/org.civicrm.module.cividiscount/issues/comments/383311486","html_url":"https://github.com/civicrm/org.civicrm.module.cividiscount/pull/193#issuecomment-383311486","issue_url":"https://api.github.com/repos/civicrm/org.civicrm.module.cividiscount/issues/193","id":383311486,"user":{"login":"MegaphoneJon","id":1796012,"avatar_url":"https://avatars3.githubusercontent.com/u/1796012?v=4","gravatar_id":"","url":"https://api.github.com/users/MegaphoneJon","html_url":"https://github.com/MegaphoneJon","followers_url":"https://api.github.com/users/MegaphoneJon/followers","following_url":"https://api.github.com/users/MegaphoneJon/following{/other_user}","gists_url":"https://api.github.com/users/MegaphoneJon/gists{/gist_id}","starred_url":"https://api.github.com/users/MegaphoneJon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MegaphoneJon/subscriptions","organizations_url":"https://api.github.com/users/MegaphoneJon/orgs","repos_url":"https://api.github.com/users/MegaphoneJon/repos","events_url":"https://api.github.com/users/MegaphoneJon/events{/privacy}","received_events_url":"https://api.github.com/users/MegaphoneJon/received_events","type":"User","site_admin":false},"created_at":"2018-04-21T16:41:00Z","updated_at":"2018-04-21T16:41:00Z","author_association":"NONE","body":"I wrote this for @danaskallman, so hopefully we can convince her to review your PR in exchange :)"}}
{"actor":{"display_login":"MegaphoneJon"}}