{"action":"opened","number":2146,"pull_request":{"url":"https://api.github.com/repos/invoiceninja/invoiceninja/pulls/2146","id":192897956,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyODk3OTU2","html_url":"https://github.com/invoiceninja/invoiceninja/pull/2146","diff_url":"https://github.com/invoiceninja/invoiceninja/pull/2146.diff","patch_url":"https://github.com/invoiceninja/invoiceninja/pull/2146.patch","issue_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/2146","number":2146,"state":"open","locked":false,"title":"Fine Grained User Permissions","user":{"login":"turbo124","id":5827962,"node_id":"MDQ6VXNlcjU4Mjc5NjI=","avatar_url":"https://avatars0.githubusercontent.com/u/5827962?v=4","gravatar_id":"","url":"https://api.github.com/users/turbo124","html_url":"https://github.com/turbo124","followers_url":"https://api.github.com/users/turbo124/followers","following_url":"https://api.github.com/users/turbo124/following{/other_user}","gists_url":"https://api.github.com/users/turbo124/gists{/gist_id}","starred_url":"https://api.github.com/users/turbo124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbo124/subscriptions","organizations_url":"https://api.github.com/users/turbo124/orgs","repos_url":"https://api.github.com/users/turbo124/repos","events_url":"https://api.github.com/users/turbo124/events{/privacy}","received_events_url":"https://api.github.com/users/turbo124/received_events","type":"User","site_admin":false},"body":"This PR implements Create/View/Edit permissions based on ENTITY TYPE (ie invoice/expense/client).\r\n\r\n\r\n\r\n","created_at":"2018-06-06T04:39:08Z","updated_at":"2018-06-06T04:39:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/invoiceninja/invoiceninja/pulls/2146/commits","review_comments_url":"https://api.github.com/repos/invoiceninja/invoiceninja/pulls/2146/comments","review_comment_url":"https://api.github.com/repos/invoiceninja/invoiceninja/pulls/comments{/number}","comments_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/2146/comments","statuses_url":"https://api.github.com/repos/invoiceninja/invoiceninja/statuses/e117b62256978009d1a6a61d875353a223f06a3b","head":{"label":"turbo124:permissions","ref":"permissions","sha":"e117b62256978009d1a6a61d875353a223f06a3b","user":{"login":"turbo124","id":5827962,"node_id":"MDQ6VXNlcjU4Mjc5NjI=","avatar_url":"https://avatars0.githubusercontent.com/u/5827962?v=4","gravatar_id":"","url":"https://api.github.com/users/turbo124","html_url":"https://github.com/turbo124","followers_url":"https://api.github.com/users/turbo124/followers","following_url":"https://api.github.com/users/turbo124/following{/other_user}","gists_url":"https://api.github.com/users/turbo124/gists{/gist_id}","starred_url":"https://api.github.com/users/turbo124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbo124/subscriptions","organizations_url":"https://api.github.com/users/turbo124/orgs","repos_url":"https://api.github.com/users/turbo124/repos","events_url":"https://api.github.com/users/turbo124/events{/privacy}","received_events_url":"https://api.github.com/users/turbo124/received_events","type":"User","site_admin":false},"repo":{"id":51188034,"node_id":"MDEwOlJlcG9zaXRvcnk1MTE4ODAzNA==","name":"invoiceninja","full_name":"turbo124/invoiceninja","owner":{"login":"turbo124","id":5827962,"node_id":"MDQ6VXNlcjU4Mjc5NjI=","avatar_url":"https://avatars0.githubusercontent.com/u/5827962?v=4","gravatar_id":"","url":"https://api.github.com/users/turbo124","html_url":"https://github.com/turbo124","followers_url":"https://api.github.com/users/turbo124/followers","following_url":"https://api.github.com/users/turbo124/following{/other_user}","gists_url":"https://api.github.com/users/turbo124/gists{/gist_id}","starred_url":"https://api.github.com/users/turbo124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbo124/subscriptions","organizations_url":"https://api.github.com/users/turbo124/orgs","repos_url":"https://api.github.com/users/turbo124/repos","events_url":"https://api.github.com/users/turbo124/events{/privacy}","received_events_url":"https://api.github.com/users/turbo124/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/turbo124/invoiceninja","description":"An open-source invoicing and time-tracking app built with Laravel","fork":true,"url":"https://api.github.com/repos/turbo124/invoiceninja","forks_url":"https://api.github.com/repos/turbo124/invoiceninja/forks","keys_url":"https://api.github.com/repos/turbo124/invoiceninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turbo124/invoiceninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turbo124/invoiceninja/teams","hooks_url":"https://api.github.com/repos/turbo124/invoiceninja/hooks","issue_events_url":"https://api.github.com/repos/turbo124/invoiceninja/issues/events{/number}","events_url":"https://api.github.com/repos/turbo124/invoiceninja/events","assignees_url":"https://api.github.com/repos/turbo124/invoiceninja/assignees{/user}","branches_url":"https://api.github.com/repos/turbo124/invoiceninja/branches{/branch}","tags_url":"https://api.github.com/repos/turbo124/invoiceninja/tags","blobs_url":"https://api.github.com/repos/turbo124/invoiceninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turbo124/invoiceninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turbo124/invoiceninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/turbo124/invoiceninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turbo124/invoiceninja/statuses/{sha}","languages_url":"https://api.github.com/repos/turbo124/invoiceninja/languages","stargazers_url":"https://api.github.com/repos/turbo124/invoiceninja/stargazers","contributors_url":"https://api.github.com/repos/turbo124/invoiceninja/contributors","subscribers_url":"https://api.github.com/repos/turbo124/invoiceninja/subscribers","subscription_url":"https://api.github.com/repos/turbo124/invoiceninja/subscription","commits_url":"https://api.github.com/repos/turbo124/invoiceninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/turbo124/invoiceninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/turbo124/invoiceninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/turbo124/invoiceninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/turbo124/invoiceninja/contents/{+path}","compare_url":"https://api.github.com/repos/turbo124/invoiceninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turbo124/invoiceninja/merges","archive_url":"https://api.github.com/repos/turbo124/invoiceninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turbo124/invoiceninja/downloads","issues_url":"https://api.github.com/repos/turbo124/invoiceninja/issues{/number}","pulls_url":"https://api.github.com/repos/turbo124/invoiceninja/pulls{/number}","milestones_url":"https://api.github.com/repos/turbo124/invoiceninja/milestones{/number}","notifications_url":"https://api.github.com/repos/turbo124/invoiceninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turbo124/invoiceninja/labels{/name}","releases_url":"https://api.github.com/repos/turbo124/invoiceninja/releases{/id}","deployments_url":"https://api.github.com/repos/turbo124/invoiceninja/deployments","created_at":"2016-02-06T03:37:11Z","updated_at":"2016-02-06T03:37:14Z","pushed_at":"2018-06-06T04:31:22Z","git_url":"git://github.com/turbo124/invoiceninja.git","ssh_url":"git@github.com:turbo124/invoiceninja.git","clone_url":"https://github.com/turbo124/invoiceninja.git","svn_url":"https://github.com/turbo124/invoiceninja","homepage":"https://www.invoiceninja.com","size":245317,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"invoiceninja:develop","ref":"develop","sha":"8de5f8234b62d362c478e5bfa5761535575251c0","user":{"login":"invoiceninja","id":15712270,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NzEyMjcw","avatar_url":"https://avatars3.githubusercontent.com/u/15712270?v=4","gravatar_id":"","url":"https://api.github.com/users/invoiceninja","html_url":"https://github.com/invoiceninja","followers_url":"https://api.github.com/users/invoiceninja/followers","following_url":"https://api.github.com/users/invoiceninja/following{/other_user}","gists_url":"https://api.github.com/users/invoiceninja/gists{/gist_id}","starred_url":"https://api.github.com/users/invoiceninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invoiceninja/subscriptions","organizations_url":"https://api.github.com/users/invoiceninja/orgs","repos_url":"https://api.github.com/users/invoiceninja/repos","events_url":"https://api.github.com/users/invoiceninja/events{/privacy}","received_events_url":"https://api.github.com/users/invoiceninja/received_events","type":"Organization","site_admin":false},"repo":{"id":14716368,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcxNjM2OA==","name":"invoiceninja","full_name":"invoiceninja/invoiceninja","owner":{"login":"invoiceninja","id":15712270,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NzEyMjcw","avatar_url":"https://avatars3.githubusercontent.com/u/15712270?v=4","gravatar_id":"","url":"https://api.github.com/users/invoiceninja","html_url":"https://github.com/invoiceninja","followers_url":"https://api.github.com/users/invoiceninja/followers","following_url":"https://api.github.com/users/invoiceninja/following{/other_user}","gists_url":"https://api.github.com/users/invoiceninja/gists{/gist_id}","starred_url":"https://api.github.com/users/invoiceninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invoiceninja/subscriptions","organizations_url":"https://api.github.com/users/invoiceninja/orgs","repos_url":"https://api.github.com/users/invoiceninja/repos","events_url":"https://api.github.com/users/invoiceninja/events{/privacy}","received_events_url":"https://api.github.com/users/invoiceninja/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/invoiceninja/invoiceninja","description":"Invoices, Expenses, Tasks and Proposals built with Laravel","fork":false,"url":"https://api.github.com/repos/invoiceninja/invoiceninja","forks_url":"https://api.github.com/repos/invoiceninja/invoiceninja/forks","keys_url":"https://api.github.com/repos/invoiceninja/invoiceninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/invoiceninja/invoiceninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/invoiceninja/invoiceninja/teams","hooks_url":"https://api.github.com/repos/invoiceninja/invoiceninja/hooks","issue_events_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/events{/number}","events_url":"https://api.github.com/repos/invoiceninja/invoiceninja/events","assignees_url":"https://api.github.com/repos/invoiceninja/invoiceninja/assignees{/user}","branches_url":"https://api.github.com/repos/invoiceninja/invoiceninja/branches{/branch}","tags_url":"https://api.github.com/repos/invoiceninja/invoiceninja/tags","blobs_url":"https://api.github.com/repos/invoiceninja/invoiceninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/invoiceninja/invoiceninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/invoiceninja/invoiceninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/invoiceninja/invoiceninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/invoiceninja/invoiceninja/statuses/{sha}","languages_url":"https://api.github.com/repos/invoiceninja/invoiceninja/languages","stargazers_url":"https://api.github.com/repos/invoiceninja/invoiceninja/stargazers","contributors_url":"https://api.github.com/repos/invoiceninja/invoiceninja/contributors","subscribers_url":"https://api.github.com/repos/invoiceninja/invoiceninja/subscribers","subscription_url":"https://api.github.com/repos/invoiceninja/invoiceninja/subscription","commits_url":"https://api.github.com/repos/invoiceninja/invoiceninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/invoiceninja/invoiceninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/invoiceninja/invoiceninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/invoiceninja/invoiceninja/contents/{+path}","compare_url":"https://api.github.com/repos/invoiceninja/invoiceninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/invoiceninja/invoiceninja/merges","archive_url":"https://api.github.com/repos/invoiceninja/invoiceninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/invoiceninja/invoiceninja/downloads","issues_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues{/number}","pulls_url":"https://api.github.com/repos/invoiceninja/invoiceninja/pulls{/number}","milestones_url":"https://api.github.com/repos/invoiceninja/invoiceninja/milestones{/number}","notifications_url":"https://api.github.com/repos/invoiceninja/invoiceninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/invoiceninja/invoiceninja/labels{/name}","releases_url":"https://api.github.com/repos/invoiceninja/invoiceninja/releases{/id}","deployments_url":"https://api.github.com/repos/invoiceninja/invoiceninja/deployments","created_at":"2013-11-26T12:30:05Z","updated_at":"2018-06-05T07:40:41Z","pushed_at":"2018-06-04T19:01:45Z","git_url":"git://github.com/invoiceninja/invoiceninja.git","ssh_url":"git@github.com:invoiceninja/invoiceninja.git","clone_url":"https://github.com/invoiceninja/invoiceninja.git","svn_url":"https://github.com/invoiceninja/invoiceninja","homepage":"https://www.invoiceninja.com","size":249411,"stargazers_count":3576,"watchers_count":3576,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1164,"mirror_url":null,"archived":false,"open_issues_count":254,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1164,"open_issues":254,"watchers":3576,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/invoiceninja/invoiceninja/pulls/2146"},"html":{"href":"https://github.com/invoiceninja/invoiceninja/pull/2146"},"issue":{"href":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/2146"},"comments":{"href":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/2146/comments"},"review_comments":{"href":"https://api.github.com/repos/invoiceninja/invoiceninja/pulls/2146/comments"},"review_comment":{"href":"https://api.github.com/repos/invoiceninja/invoiceninja/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/invoiceninja/invoiceninja/pulls/2146/commits"},"statuses":{"href":"https://api.github.com/repos/invoiceninja/invoiceninja/statuses/e117b62256978009d1a6a61d875353a223f06a3b"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":24,"additions":484,"deletions":267,"changed_files":60}}
{"actor":{"display_login":"turbo124"}}