{"action":"created","comment":{"url":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/comments/193466385","pull_request_review_id":126444647,"id":193466385,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzQ2NjM4NQ==","diff_hunk":"@@ -65,6 +65,9 @@ public function buildForm(array $form, FormStateInterface $form_state) {\n     $collections = $this->relationManager->getCollectionsWhereSoleOwner($this->entity);\n \n     if (!empty($collections)) {\n+      // No access to the 'Cancel' button should be given if the user is the\n+      // sole owner of a collection.\n+      $form['actions']['submit']['#access'] = FALSE;","path":"web/profiles/joinup/src/Form/UserCancelForm.php","position":6,"original_position":6,"commit_id":"8d848e7290be5bf65044222e7abd1e447806a7f7","original_commit_id":"8d848e7290be5bf65044222e7abd1e447806a7f7","user":{"login":"pfrenssen","id":442924,"node_id":"MDQ6VXNlcjQ0MjkyNA==","avatar_url":"https://avatars0.githubusercontent.com/u/442924?v=4","gravatar_id":"","url":"https://api.github.com/users/pfrenssen","html_url":"https://github.com/pfrenssen","followers_url":"https://api.github.com/users/pfrenssen/followers","following_url":"https://api.github.com/users/pfrenssen/following{/other_user}","gists_url":"https://api.github.com/users/pfrenssen/gists{/gist_id}","starred_url":"https://api.github.com/users/pfrenssen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfrenssen/subscriptions","organizations_url":"https://api.github.com/users/pfrenssen/orgs","repos_url":"https://api.github.com/users/pfrenssen/repos","events_url":"https://api.github.com/users/pfrenssen/events{/privacy}","received_events_url":"https://api.github.com/users/pfrenssen/received_events","type":"User","site_admin":false},"body":"I agree with this but shouldn't we solve this differently? I would suggest to show a greyed out version of the button with a tooltip \"This user cannot be deleted since it is the owner of a collection\".","created_at":"2018-06-06T16:01:57Z","updated_at":"2018-06-06T16:01:57Z","html_url":"https://github.com/ec-europa/joinup-dev/pull/1215#discussion_r193466385","pull_request_url":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/1215","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/comments/193466385"},"html":{"href":"https://github.com/ec-europa/joinup-dev/pull/1215#discussion_r193466385"},"pull_request":{"href":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/1215"}}},"pull_request":{"url":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/1215","id":192386289,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMzg2Mjg5","html_url":"https://github.com/ec-europa/joinup-dev/pull/1215","diff_url":"https://github.com/ec-europa/joinup-dev/pull/1215.diff","patch_url":"https://github.com/ec-europa/joinup-dev/pull/1215.patch","issue_url":"https://api.github.com/repos/ec-europa/joinup-dev/issues/1215","number":1215,"state":"open","locked":false,"title":"Isaicp 4392: Change the 'Cancel account' button label on the user cancel form","user":{"login":"idimopoulos","id":12171851,"node_id":"MDQ6VXNlcjEyMTcxODUx","avatar_url":"https://avatars3.githubusercontent.com/u/12171851?v=4","gravatar_id":"","url":"https://api.github.com/users/idimopoulos","html_url":"https://github.com/idimopoulos","followers_url":"https://api.github.com/users/idimopoulos/followers","following_url":"https://api.github.com/users/idimopoulos/following{/other_user}","gists_url":"https://api.github.com/users/idimopoulos/gists{/gist_id}","starred_url":"https://api.github.com/users/idimopoulos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idimopoulos/subscriptions","organizations_url":"https://api.github.com/users/idimopoulos/orgs","repos_url":"https://api.github.com/users/idimopoulos/repos","events_url":"https://api.github.com/users/idimopoulos/events{/privacy}","received_events_url":"https://api.github.com/users/idimopoulos/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-04T12:05:51Z","updated_at":"2018-06-06T16:01:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"783a3231c57ed4f70a279b6f7422096f0708fc50","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/1215/commits","review_comments_url":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/1215/comments","review_comment_url":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ec-europa/joinup-dev/issues/1215/comments","statuses_url":"https://api.github.com/repos/ec-europa/joinup-dev/statuses/8d848e7290be5bf65044222e7abd1e447806a7f7","head":{"label":"ec-europa:ISAICP-4392","ref":"ISAICP-4392","sha":"8d848e7290be5bf65044222e7abd1e447806a7f7","user":{"login":"ec-europa","id":10885565,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwODg1NTY1","avatar_url":"https://avatars1.githubusercontent.com/u/10885565?v=4","gravatar_id":"","url":"https://api.github.com/users/ec-europa","html_url":"https://github.com/ec-europa","followers_url":"https://api.github.com/users/ec-europa/followers","following_url":"https://api.github.com/users/ec-europa/following{/other_user}","gists_url":"https://api.github.com/users/ec-europa/gists{/gist_id}","starred_url":"https://api.github.com/users/ec-europa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ec-europa/subscriptions","organizations_url":"https://api.github.com/users/ec-europa/orgs","repos_url":"https://api.github.com/users/ec-europa/repos","events_url":"https://api.github.com/users/ec-europa/events{/privacy}","received_events_url":"https://api.github.com/users/ec-europa/received_events","type":"Organization","site_admin":false},"repo":{"id":46046597,"node_id":"MDEwOlJlcG9zaXRvcnk0NjA0NjU5Nw==","name":"joinup-dev","full_name":"ec-europa/joinup-dev","owner":{"login":"ec-europa","id":10885565,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwODg1NTY1","avatar_url":"https://avatars1.githubusercontent.com/u/10885565?v=4","gravatar_id":"","url":"https://api.github.com/users/ec-europa","html_url":"https://github.com/ec-europa","followers_url":"https://api.github.com/users/ec-europa/followers","following_url":"https://api.github.com/users/ec-europa/following{/other_user}","gists_url":"https://api.github.com/users/ec-europa/gists{/gist_id}","starred_url":"https://api.github.com/users/ec-europa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ec-europa/subscriptions","organizations_url":"https://api.github.com/users/ec-europa/orgs","repos_url":"https://api.github.com/users/ec-europa/repos","events_url":"https://api.github.com/users/ec-europa/events{/privacy}","received_events_url":"https://api.github.com/users/ec-europa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ec-europa/joinup-dev","description":"Joinup is a collaborative platform created by the European Commission that aims to help e-Government professionals share their experience with each other","fork":false,"url":"https://api.github.com/repos/ec-europa/joinup-dev","forks_url":"https://api.github.com/repos/ec-europa/joinup-dev/forks","keys_url":"https://api.github.com/repos/ec-europa/joinup-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ec-europa/joinup-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ec-europa/joinup-dev/teams","hooks_url":"https://api.github.com/repos/ec-europa/joinup-dev/hooks","issue_events_url":"https://api.github.com/repos/ec-europa/joinup-dev/issues/events{/number}","events_url":"https://api.github.com/repos/ec-europa/joinup-dev/events","assignees_url":"https://api.github.com/repos/ec-europa/joinup-dev/assignees{/user}","branches_url":"https://api.github.com/repos/ec-europa/joinup-dev/branches{/branch}","tags_url":"https://api.github.com/repos/ec-europa/joinup-dev/tags","blobs_url":"https://api.github.com/repos/ec-europa/joinup-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ec-europa/joinup-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ec-europa/joinup-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/ec-europa/joinup-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ec-europa/joinup-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/ec-europa/joinup-dev/languages","stargazers_url":"https://api.github.com/repos/ec-europa/joinup-dev/stargazers","contributors_url":"https://api.github.com/repos/ec-europa/joinup-dev/contributors","subscribers_url":"https://api.github.com/repos/ec-europa/joinup-dev/subscribers","subscription_url":"https://api.github.com/repos/ec-europa/joinup-dev/subscription","commits_url":"https://api.github.com/repos/ec-europa/joinup-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/ec-europa/joinup-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/ec-europa/joinup-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/ec-europa/joinup-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/ec-europa/joinup-dev/contents/{+path}","compare_url":"https://api.github.com/repos/ec-europa/joinup-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ec-europa/joinup-dev/merges","archive_url":"https://api.github.com/repos/ec-europa/joinup-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ec-europa/joinup-dev/downloads","issues_url":"https://api.github.com/repos/ec-europa/joinup-dev/issues{/number}","pulls_url":"https://api.github.com/repos/ec-europa/joinup-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/ec-europa/joinup-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/ec-europa/joinup-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ec-europa/joinup-dev/labels{/name}","releases_url":"https://api.github.com/repos/ec-europa/joinup-dev/releases{/id}","deployments_url":"https://api.github.com/repos/ec-europa/joinup-dev/deployments","created_at":"2015-11-12T10:46:34Z","updated_at":"2018-06-06T13:51:19Z","pushed_at":"2018-06-06T15:11:58Z","git_url":"git://github.com/ec-europa/joinup-dev.git","ssh_url":"git@github.com:ec-europa/joinup-dev.git","clone_url":"https://github.com/ec-europa/joinup-dev.git","svn_url":"https://github.com/ec-europa/joinup-dev","homepage":"https://joinup.ec.europa.eu/","size":204016,"stargazers_count":19,"watchers_count":19,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":30,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":10,"open_issues":30,"watchers":19,"default_branch":"develop"}},"base":{"label":"ec-europa:develop","ref":"develop","sha":"cce030f7510db9758fc8f4864de9267afbeae1ab","user":{"login":"ec-europa","id":10885565,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwODg1NTY1","avatar_url":"https://avatars1.githubusercontent.com/u/10885565?v=4","gravatar_id":"","url":"https://api.github.com/users/ec-europa","html_url":"https://github.com/ec-europa","followers_url":"https://api.github.com/users/ec-europa/followers","following_url":"https://api.github.com/users/ec-europa/following{/other_user}","gists_url":"https://api.github.com/users/ec-europa/gists{/gist_id}","starred_url":"https://api.github.com/users/ec-europa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ec-europa/subscriptions","organizations_url":"https://api.github.com/users/ec-europa/orgs","repos_url":"https://api.github.com/users/ec-europa/repos","events_url":"https://api.github.com/users/ec-europa/events{/privacy}","received_events_url":"https://api.github.com/users/ec-europa/received_events","type":"Organization","site_admin":false},"repo":{"id":46046597,"node_id":"MDEwOlJlcG9zaXRvcnk0NjA0NjU5Nw==","name":"joinup-dev","full_name":"ec-europa/joinup-dev","owner":{"login":"ec-europa","id":10885565,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwODg1NTY1","avatar_url":"https://avatars1.githubusercontent.com/u/10885565?v=4","gravatar_id":"","url":"https://api.github.com/users/ec-europa","html_url":"https://github.com/ec-europa","followers_url":"https://api.github.com/users/ec-europa/followers","following_url":"https://api.github.com/users/ec-europa/following{/other_user}","gists_url":"https://api.github.com/users/ec-europa/gists{/gist_id}","starred_url":"https://api.github.com/users/ec-europa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ec-europa/subscriptions","organizations_url":"https://api.github.com/users/ec-europa/orgs","repos_url":"https://api.github.com/users/ec-europa/repos","events_url":"https://api.github.com/users/ec-europa/events{/privacy}","received_events_url":"https://api.github.com/users/ec-europa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ec-europa/joinup-dev","description":"Joinup is a collaborative platform created by the European Commission that aims to help e-Government professionals share their experience with each other","fork":false,"url":"https://api.github.com/repos/ec-europa/joinup-dev","forks_url":"https://api.github.com/repos/ec-europa/joinup-dev/forks","keys_url":"https://api.github.com/repos/ec-europa/joinup-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ec-europa/joinup-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ec-europa/joinup-dev/teams","hooks_url":"https://api.github.com/repos/ec-europa/joinup-dev/hooks","issue_events_url":"https://api.github.com/repos/ec-europa/joinup-dev/issues/events{/number}","events_url":"https://api.github.com/repos/ec-europa/joinup-dev/events","assignees_url":"https://api.github.com/repos/ec-europa/joinup-dev/assignees{/user}","branches_url":"https://api.github.com/repos/ec-europa/joinup-dev/branches{/branch}","tags_url":"https://api.github.com/repos/ec-europa/joinup-dev/tags","blobs_url":"https://api.github.com/repos/ec-europa/joinup-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ec-europa/joinup-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ec-europa/joinup-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/ec-europa/joinup-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ec-europa/joinup-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/ec-europa/joinup-dev/languages","stargazers_url":"https://api.github.com/repos/ec-europa/joinup-dev/stargazers","contributors_url":"https://api.github.com/repos/ec-europa/joinup-dev/contributors","subscribers_url":"https://api.github.com/repos/ec-europa/joinup-dev/subscribers","subscription_url":"https://api.github.com/repos/ec-europa/joinup-dev/subscription","commits_url":"https://api.github.com/repos/ec-europa/joinup-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/ec-europa/joinup-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/ec-europa/joinup-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/ec-europa/joinup-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/ec-europa/joinup-dev/contents/{+path}","compare_url":"https://api.github.com/repos/ec-europa/joinup-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ec-europa/joinup-dev/merges","archive_url":"https://api.github.com/repos/ec-europa/joinup-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ec-europa/joinup-dev/downloads","issues_url":"https://api.github.com/repos/ec-europa/joinup-dev/issues{/number}","pulls_url":"https://api.github.com/repos/ec-europa/joinup-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/ec-europa/joinup-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/ec-europa/joinup-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ec-europa/joinup-dev/labels{/name}","releases_url":"https://api.github.com/repos/ec-europa/joinup-dev/releases{/id}","deployments_url":"https://api.github.com/repos/ec-europa/joinup-dev/deployments","created_at":"2015-11-12T10:46:34Z","updated_at":"2018-06-06T13:51:19Z","pushed_at":"2018-06-06T15:11:58Z","git_url":"git://github.com/ec-europa/joinup-dev.git","ssh_url":"git@github.com:ec-europa/joinup-dev.git","clone_url":"https://github.com/ec-europa/joinup-dev.git","svn_url":"https://github.com/ec-europa/joinup-dev","homepage":"https://joinup.ec.europa.eu/","size":204016,"stargazers_count":19,"watchers_count":19,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":30,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":10,"open_issues":30,"watchers":19,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/1215"},"html":{"href":"https://github.com/ec-europa/joinup-dev/pull/1215"},"issue":{"href":"https://api.github.com/repos/ec-europa/joinup-dev/issues/1215"},"comments":{"href":"https://api.github.com/repos/ec-europa/joinup-dev/issues/1215/comments"},"review_comments":{"href":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/1215/comments"},"review_comment":{"href":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ec-europa/joinup-dev/pulls/1215/commits"},"statuses":{"href":"https://api.github.com/repos/ec-europa/joinup-dev/statuses/8d848e7290be5bf65044222e7abd1e447806a7f7"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"pfrenssen"}}