{"action":"created","comment":{"url":"https://api.github.com/repos/blstream/TOZ_BE/pulls/comments/113653972","pull_request_review_id":35059485,"id":113653972,"diff_hunk":"@@ -6,3 +6,4 @@ mustHaveValue=Attribute \"{0}\" must have a value among: {1}.\n invalidArgumentValue=Invalid argument value!\n invalidScheduleHours=Hours {0} are invalid! Valid hours for {1} are: {2}\n reservationAlreadyExists=Reservation at hour: {0}, day: {1}, already exists!\n+accessDenied=Insufficient authority to access this resource! Your role/s are: {0}.","path":"src/main/resources/i18n/messages.properties","position":4,"original_position":4,"commit_id":"9c9f64cea8f9d1113a1e1043529bc654df9a502a","original_commit_id":"9c9f64cea8f9d1113a1e1043529bc654df9a502a","user":{"login":"LukaszPiskadlo","id":16863211,"avatar_url":"https://avatars2.githubusercontent.com/u/16863211?v=3","gravatar_id":"","url":"https://api.github.com/users/LukaszPiskadlo","html_url":"https://github.com/LukaszPiskadlo","followers_url":"https://api.github.com/users/LukaszPiskadlo/followers","following_url":"https://api.github.com/users/LukaszPiskadlo/following{/other_user}","gists_url":"https://api.github.com/users/LukaszPiskadlo/gists{/gist_id}","starred_url":"https://api.github.com/users/LukaszPiskadlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukaszPiskadlo/subscriptions","organizations_url":"https://api.github.com/users/LukaszPiskadlo/orgs","repos_url":"https://api.github.com/users/LukaszPiskadlo/repos","events_url":"https://api.github.com/users/LukaszPiskadlo/events{/privacy}","received_events_url":"https://api.github.com/users/LukaszPiskadlo/received_events","type":"User","site_admin":false},"body":"I think it's enough to say, that user has insufficient authority, we don't have to tell him his roles. But it's not necessarily an error. ","created_at":"2017-04-27T09:33:27Z","updated_at":"2017-04-27T09:34:20Z","html_url":"https://github.com/blstream/TOZ_BE/pull/45#discussion_r113653972","pull_request_url":"https://api.github.com/repos/blstream/TOZ_BE/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/blstream/TOZ_BE/pulls/comments/113653972"},"html":{"href":"https://github.com/blstream/TOZ_BE/pull/45#discussion_r113653972"},"pull_request":{"href":"https://api.github.com/repos/blstream/TOZ_BE/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/blstream/TOZ_BE/pulls/45","id":117787620,"html_url":"https://github.com/blstream/TOZ_BE/pull/45","diff_url":"https://github.com/blstream/TOZ_BE/pull/45.diff","patch_url":"https://github.com/blstream/TOZ_BE/pull/45.patch","issue_url":"https://api.github.com/repos/blstream/TOZ_BE/issues/45","number":45,"state":"open","locked":false,"title":"Toz 163 securing api with roles","user":{"login":"Jakub-Izbicki","id":23477668,"avatar_url":"https://avatars1.githubusercontent.com/u/23477668?v=3","gravatar_id":"","url":"https://api.github.com/users/Jakub-Izbicki","html_url":"https://github.com/Jakub-Izbicki","followers_url":"https://api.github.com/users/Jakub-Izbicki/followers","following_url":"https://api.github.com/users/Jakub-Izbicki/following{/other_user}","gists_url":"https://api.github.com/users/Jakub-Izbicki/gists{/gist_id}","starred_url":"https://api.github.com/users/Jakub-Izbicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jakub-Izbicki/subscriptions","organizations_url":"https://api.github.com/users/Jakub-Izbicki/orgs","repos_url":"https://api.github.com/users/Jakub-Izbicki/repos","events_url":"https://api.github.com/users/Jakub-Izbicki/events{/privacy}","received_events_url":"https://api.github.com/users/Jakub-Izbicki/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-26T19:06:52Z","updated_at":"2017-04-27T09:34:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c5db92ff8bd7ab97b9b053c5f7df26cf23540d4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/blstream/TOZ_BE/pulls/45/commits","review_comments_url":"https://api.github.com/repos/blstream/TOZ_BE/pulls/45/comments","review_comment_url":"https://api.github.com/repos/blstream/TOZ_BE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blstream/TOZ_BE/issues/45/comments","statuses_url":"https://api.github.com/repos/blstream/TOZ_BE/statuses/9c9f64cea8f9d1113a1e1043529bc654df9a502a","head":{"label":"blstream:toz-163-securing-api-with-roles2","ref":"toz-163-securing-api-with-roles2","sha":"9c9f64cea8f9d1113a1e1043529bc654df9a502a","user":{"login":"blstream","id":316451,"avatar_url":"https://avatars3.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"repo":{"id":82180299,"name":"TOZ_BE","full_name":"blstream/TOZ_BE","owner":{"login":"blstream","id":316451,"avatar_url":"https://avatars3.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blstream/TOZ_BE","description":"Patronage 2017 - Java backend system","fork":false,"url":"https://api.github.com/repos/blstream/TOZ_BE","forks_url":"https://api.github.com/repos/blstream/TOZ_BE/forks","keys_url":"https://api.github.com/repos/blstream/TOZ_BE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blstream/TOZ_BE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blstream/TOZ_BE/teams","hooks_url":"https://api.github.com/repos/blstream/TOZ_BE/hooks","issue_events_url":"https://api.github.com/repos/blstream/TOZ_BE/issues/events{/number}","events_url":"https://api.github.com/repos/blstream/TOZ_BE/events","assignees_url":"https://api.github.com/repos/blstream/TOZ_BE/assignees{/user}","branches_url":"https://api.github.com/repos/blstream/TOZ_BE/branches{/branch}","tags_url":"https://api.github.com/repos/blstream/TOZ_BE/tags","blobs_url":"https://api.github.com/repos/blstream/TOZ_BE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blstream/TOZ_BE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blstream/TOZ_BE/git/refs{/sha}","trees_url":"https://api.github.com/repos/blstream/TOZ_BE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blstream/TOZ_BE/statuses/{sha}","languages_url":"https://api.github.com/repos/blstream/TOZ_BE/languages","stargazers_url":"https://api.github.com/repos/blstream/TOZ_BE/stargazers","contributors_url":"https://api.github.com/repos/blstream/TOZ_BE/contributors","subscribers_url":"https://api.github.com/repos/blstream/TOZ_BE/subscribers","subscription_url":"https://api.github.com/repos/blstream/TOZ_BE/subscription","commits_url":"https://api.github.com/repos/blstream/TOZ_BE/commits{/sha}","git_commits_url":"https://api.github.com/repos/blstream/TOZ_BE/git/commits{/sha}","comments_url":"https://api.github.com/repos/blstream/TOZ_BE/comments{/number}","issue_comment_url":"https://api.github.com/repos/blstream/TOZ_BE/issues/comments{/number}","contents_url":"https://api.github.com/repos/blstream/TOZ_BE/contents/{+path}","compare_url":"https://api.github.com/repos/blstream/TOZ_BE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blstream/TOZ_BE/merges","archive_url":"https://api.github.com/repos/blstream/TOZ_BE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blstream/TOZ_BE/downloads","issues_url":"https://api.github.com/repos/blstream/TOZ_BE/issues{/number}","pulls_url":"https://api.github.com/repos/blstream/TOZ_BE/pulls{/number}","milestones_url":"https://api.github.com/repos/blstream/TOZ_BE/milestones{/number}","notifications_url":"https://api.github.com/repos/blstream/TOZ_BE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blstream/TOZ_BE/labels{/name}","releases_url":"https://api.github.com/repos/blstream/TOZ_BE/releases{/id}","deployments_url":"https://api.github.com/repos/blstream/TOZ_BE/deployments","created_at":"2017-02-16T12:53:09Z","updated_at":"2017-03-06T09:13:05Z","pushed_at":"2017-04-26T19:06:53Z","git_url":"git://github.com/blstream/TOZ_BE.git","ssh_url":"git@github.com:blstream/TOZ_BE.git","clone_url":"https://github.com/blstream/TOZ_BE.git","svn_url":"https://github.com/blstream/TOZ_BE","homepage":"","size":309,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"blstream:master","ref":"master","sha":"c78cba603860f1bc5c4b40f968ff3b8745489380","user":{"login":"blstream","id":316451,"avatar_url":"https://avatars3.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"repo":{"id":82180299,"name":"TOZ_BE","full_name":"blstream/TOZ_BE","owner":{"login":"blstream","id":316451,"avatar_url":"https://avatars3.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blstream/TOZ_BE","description":"Patronage 2017 - Java backend system","fork":false,"url":"https://api.github.com/repos/blstream/TOZ_BE","forks_url":"https://api.github.com/repos/blstream/TOZ_BE/forks","keys_url":"https://api.github.com/repos/blstream/TOZ_BE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blstream/TOZ_BE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blstream/TOZ_BE/teams","hooks_url":"https://api.github.com/repos/blstream/TOZ_BE/hooks","issue_events_url":"https://api.github.com/repos/blstream/TOZ_BE/issues/events{/number}","events_url":"https://api.github.com/repos/blstream/TOZ_BE/events","assignees_url":"https://api.github.com/repos/blstream/TOZ_BE/assignees{/user}","branches_url":"https://api.github.com/repos/blstream/TOZ_BE/branches{/branch}","tags_url":"https://api.github.com/repos/blstream/TOZ_BE/tags","blobs_url":"https://api.github.com/repos/blstream/TOZ_BE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blstream/TOZ_BE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blstream/TOZ_BE/git/refs{/sha}","trees_url":"https://api.github.com/repos/blstream/TOZ_BE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blstream/TOZ_BE/statuses/{sha}","languages_url":"https://api.github.com/repos/blstream/TOZ_BE/languages","stargazers_url":"https://api.github.com/repos/blstream/TOZ_BE/stargazers","contributors_url":"https://api.github.com/repos/blstream/TOZ_BE/contributors","subscribers_url":"https://api.github.com/repos/blstream/TOZ_BE/subscribers","subscription_url":"https://api.github.com/repos/blstream/TOZ_BE/subscription","commits_url":"https://api.github.com/repos/blstream/TOZ_BE/commits{/sha}","git_commits_url":"https://api.github.com/repos/blstream/TOZ_BE/git/commits{/sha}","comments_url":"https://api.github.com/repos/blstream/TOZ_BE/comments{/number}","issue_comment_url":"https://api.github.com/repos/blstream/TOZ_BE/issues/comments{/number}","contents_url":"https://api.github.com/repos/blstream/TOZ_BE/contents/{+path}","compare_url":"https://api.github.com/repos/blstream/TOZ_BE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blstream/TOZ_BE/merges","archive_url":"https://api.github.com/repos/blstream/TOZ_BE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blstream/TOZ_BE/downloads","issues_url":"https://api.github.com/repos/blstream/TOZ_BE/issues{/number}","pulls_url":"https://api.github.com/repos/blstream/TOZ_BE/pulls{/number}","milestones_url":"https://api.github.com/repos/blstream/TOZ_BE/milestones{/number}","notifications_url":"https://api.github.com/repos/blstream/TOZ_BE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blstream/TOZ_BE/labels{/name}","releases_url":"https://api.github.com/repos/blstream/TOZ_BE/releases{/id}","deployments_url":"https://api.github.com/repos/blstream/TOZ_BE/deployments","created_at":"2017-02-16T12:53:09Z","updated_at":"2017-03-06T09:13:05Z","pushed_at":"2017-04-26T19:06:53Z","git_url":"git://github.com/blstream/TOZ_BE.git","ssh_url":"git@github.com:blstream/TOZ_BE.git","clone_url":"https://github.com/blstream/TOZ_BE.git","svn_url":"https://github.com/blstream/TOZ_BE","homepage":"","size":309,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blstream/TOZ_BE/pulls/45"},"html":{"href":"https://github.com/blstream/TOZ_BE/pull/45"},"issue":{"href":"https://api.github.com/repos/blstream/TOZ_BE/issues/45"},"comments":{"href":"https://api.github.com/repos/blstream/TOZ_BE/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/blstream/TOZ_BE/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/blstream/TOZ_BE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blstream/TOZ_BE/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/blstream/TOZ_BE/statuses/9c9f64cea8f9d1113a1e1043529bc654df9a502a"}}}}
{"actor":{"display_login":"LukaszPiskadlo"}}