{"action":"created","comment":{"url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/comments/30076078","id":30076078,"diff_hunk":"@@ -228,6 +228,12 @@ feature -- Form\n \t\t\tts.set_default_value (\"Preview\")\n \t\t\tf.extend (ts)\n \n+\t\t\tif a_node /= Void and then a_node.id > 0 and then has_permission (\"delete \" + a_name) then\n+\t\t\t\tcreate ts.make (\"op\")\n+\t\t\t\tts.set_default_value (\"Delete\")","path":"modules/node/handler/node_form_response.e","position":6,"original_position":6,"commit_id":"e767e1bc4775013e5839cda4e8eb637f3d6d1f5a","original_commit_id":"e767e1bc4775013e5839cda4e8eb637f3d6d1f5a","user":{"login":"jocelyn","id":31598,"avatar_url":"https://avatars.githubusercontent.com/u/31598?v=3","gravatar_id":"","url":"https://api.github.com/users/jocelyn","html_url":"https://github.com/jocelyn","followers_url":"https://api.github.com/users/jocelyn/followers","following_url":"https://api.github.com/users/jocelyn/following{/other_user}","gists_url":"https://api.github.com/users/jocelyn/gists{/gist_id}","starred_url":"https://api.github.com/users/jocelyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jocelyn/subscriptions","organizations_url":"https://api.github.com/users/jocelyn/orgs","repos_url":"https://api.github.com/users/jocelyn/repos","events_url":"https://api.github.com/users/jocelyn/events{/privacy}","received_events_url":"https://api.github.com/users/jocelyn/received_events","type":"User","site_admin":false},"body":"This is a general comment that apply to the other classes as well.\r\nbut ok add a TODO, or FIXME .. so that we don't forget","created_at":"2015-05-11T20:06:09Z","updated_at":"2015-05-11T20:06:09Z","html_url":"https://github.com/EiffelWebFramework/ROC/pull/22#discussion_r30076078","pull_request_url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/comments/30076078"},"html":{"href":"https://github.com/EiffelWebFramework/ROC/pull/22#discussion_r30076078"},"pull_request":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/22","id":35049955,"html_url":"https://github.com/EiffelWebFramework/ROC/pull/22","diff_url":"https://github.com/EiffelWebFramework/ROC/pull/22.diff","patch_url":"https://github.com/EiffelWebFramework/ROC/pull/22.patch","issue_url":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/22","number":22,"state":"open","locked":false,"title":"Updated table nodes to support soft deletes using the new field","user":{"login":"jvelilla","id":23418,"avatar_url":"https://avatars.githubusercontent.com/u/23418?v=3","gravatar_id":"","url":"https://api.github.com/users/jvelilla","html_url":"https://github.com/jvelilla","followers_url":"https://api.github.com/users/jvelilla/followers","following_url":"https://api.github.com/users/jvelilla/following{/other_user}","gists_url":"https://api.github.com/users/jvelilla/gists{/gist_id}","starred_url":"https://api.github.com/users/jvelilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvelilla/subscriptions","organizations_url":"https://api.github.com/users/jvelilla/orgs","repos_url":"https://api.github.com/users/jvelilla/repos","events_url":"https://api.github.com/users/jvelilla/events{/privacy}","received_events_url":"https://api.github.com/users/jvelilla/received_events","type":"User","site_admin":false},"body":"'deleted_at' as Datetime and give us free metadata.\r\nUpdated Sqlite builder to test different scenarios for users and roles.\r\nUpdated NODE_FORM_RESPONSE.edit_form feature to add a delete operation iff\r\nthere is a node ie node id >0 and the current user has delete permission on it.\r\nUpdated NODE_HANDLER.do_post to handle the operation \"DELETE\".\r\nUpdated queries to retrieve nodes filter by no logical deleted rows (ie. deleted_at is NULL).\r\nUpdated CMS_USER_API.has_permissions. (authenticated_user_role seems to generic).","created_at":"2015-05-08T21:50:12Z","updated_at":"2015-05-11T20:06:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84ebbe3054ccd3ce51fed84c1e614976bc0a2199","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/22/commits","review_comments_url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/22/comments","review_comment_url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/22/comments","statuses_url":"https://api.github.com/repos/EiffelWebFramework/ROC/statuses/e767e1bc4775013e5839cda4e8eb637f3d6d1f5a","head":{"label":"jvelilla:roc_nm","ref":"roc_nm","sha":"e767e1bc4775013e5839cda4e8eb637f3d6d1f5a","user":{"login":"jvelilla","id":23418,"avatar_url":"https://avatars.githubusercontent.com/u/23418?v=3","gravatar_id":"","url":"https://api.github.com/users/jvelilla","html_url":"https://github.com/jvelilla","followers_url":"https://api.github.com/users/jvelilla/followers","following_url":"https://api.github.com/users/jvelilla/following{/other_user}","gists_url":"https://api.github.com/users/jvelilla/gists{/gist_id}","starred_url":"https://api.github.com/users/jvelilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvelilla/subscriptions","organizations_url":"https://api.github.com/users/jvelilla/orgs","repos_url":"https://api.github.com/users/jvelilla/repos","events_url":"https://api.github.com/users/jvelilla/events{/privacy}","received_events_url":"https://api.github.com/users/jvelilla/received_events","type":"User","site_admin":false},"repo":{"id":24698278,"name":"ROC","full_name":"jvelilla/ROC","owner":{"login":"jvelilla","id":23418,"avatar_url":"https://avatars.githubusercontent.com/u/23418?v=3","gravatar_id":"","url":"https://api.github.com/users/jvelilla","html_url":"https://github.com/jvelilla","followers_url":"https://api.github.com/users/jvelilla/followers","following_url":"https://api.github.com/users/jvelilla/following{/other_user}","gists_url":"https://api.github.com/users/jvelilla/gists{/gist_id}","starred_url":"https://api.github.com/users/jvelilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvelilla/subscriptions","organizations_url":"https://api.github.com/users/jvelilla/orgs","repos_url":"https://api.github.com/users/jvelilla/repos","events_url":"https://api.github.com/users/jvelilla/events{/privacy}","received_events_url":"https://api.github.com/users/jvelilla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jvelilla/ROC","description":"Rest on CMS ","fork":true,"url":"https://api.github.com/repos/jvelilla/ROC","forks_url":"https://api.github.com/repos/jvelilla/ROC/forks","keys_url":"https://api.github.com/repos/jvelilla/ROC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jvelilla/ROC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jvelilla/ROC/teams","hooks_url":"https://api.github.com/repos/jvelilla/ROC/hooks","issue_events_url":"https://api.github.com/repos/jvelilla/ROC/issues/events{/number}","events_url":"https://api.github.com/repos/jvelilla/ROC/events","assignees_url":"https://api.github.com/repos/jvelilla/ROC/assignees{/user}","branches_url":"https://api.github.com/repos/jvelilla/ROC/branches{/branch}","tags_url":"https://api.github.com/repos/jvelilla/ROC/tags","blobs_url":"https://api.github.com/repos/jvelilla/ROC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jvelilla/ROC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jvelilla/ROC/git/refs{/sha}","trees_url":"https://api.github.com/repos/jvelilla/ROC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jvelilla/ROC/statuses/{sha}","languages_url":"https://api.github.com/repos/jvelilla/ROC/languages","stargazers_url":"https://api.github.com/repos/jvelilla/ROC/stargazers","contributors_url":"https://api.github.com/repos/jvelilla/ROC/contributors","subscribers_url":"https://api.github.com/repos/jvelilla/ROC/subscribers","subscription_url":"https://api.github.com/repos/jvelilla/ROC/subscription","commits_url":"https://api.github.com/repos/jvelilla/ROC/commits{/sha}","git_commits_url":"https://api.github.com/repos/jvelilla/ROC/git/commits{/sha}","comments_url":"https://api.github.com/repos/jvelilla/ROC/comments{/number}","issue_comment_url":"https://api.github.com/repos/jvelilla/ROC/issues/comments{/number}","contents_url":"https://api.github.com/repos/jvelilla/ROC/contents/{+path}","compare_url":"https://api.github.com/repos/jvelilla/ROC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jvelilla/ROC/merges","archive_url":"https://api.github.com/repos/jvelilla/ROC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jvelilla/ROC/downloads","issues_url":"https://api.github.com/repos/jvelilla/ROC/issues{/number}","pulls_url":"https://api.github.com/repos/jvelilla/ROC/pulls{/number}","milestones_url":"https://api.github.com/repos/jvelilla/ROC/milestones{/number}","notifications_url":"https://api.github.com/repos/jvelilla/ROC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jvelilla/ROC/labels{/name}","releases_url":"https://api.github.com/repos/jvelilla/ROC/releases{/id}","created_at":"2014-10-01T22:47:50Z","updated_at":"2015-05-07T17:51:56Z","pushed_at":"2015-05-11T19:39:06Z","git_url":"git://github.com/jvelilla/ROC.git","ssh_url":"git@github.com:jvelilla/ROC.git","clone_url":"https://github.com/jvelilla/ROC.git","svn_url":"https://github.com/jvelilla/ROC","homepage":null,"size":960,"stargazers_count":0,"watchers_count":0,"language":"Eiffel","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EiffelWebFramework:master","ref":"master","sha":"fdff2bef36b804a5fb92d31777e0642995f11f17","user":{"login":"EiffelWebFramework","id":1617859,"avatar_url":"https://avatars.githubusercontent.com/u/1617859?v=3","gravatar_id":"","url":"https://api.github.com/users/EiffelWebFramework","html_url":"https://github.com/EiffelWebFramework","followers_url":"https://api.github.com/users/EiffelWebFramework/followers","following_url":"https://api.github.com/users/EiffelWebFramework/following{/other_user}","gists_url":"https://api.github.com/users/EiffelWebFramework/gists{/gist_id}","starred_url":"https://api.github.com/users/EiffelWebFramework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EiffelWebFramework/subscriptions","organizations_url":"https://api.github.com/users/EiffelWebFramework/orgs","repos_url":"https://api.github.com/users/EiffelWebFramework/repos","events_url":"https://api.github.com/users/EiffelWebFramework/events{/privacy}","received_events_url":"https://api.github.com/users/EiffelWebFramework/received_events","type":"Organization","site_admin":false},"repo":{"id":24066295,"name":"ROC","full_name":"EiffelWebFramework/ROC","owner":{"login":"EiffelWebFramework","id":1617859,"avatar_url":"https://avatars.githubusercontent.com/u/1617859?v=3","gravatar_id":"","url":"https://api.github.com/users/EiffelWebFramework","html_url":"https://github.com/EiffelWebFramework","followers_url":"https://api.github.com/users/EiffelWebFramework/followers","following_url":"https://api.github.com/users/EiffelWebFramework/following{/other_user}","gists_url":"https://api.github.com/users/EiffelWebFramework/gists{/gist_id}","starred_url":"https://api.github.com/users/EiffelWebFramework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EiffelWebFramework/subscriptions","organizations_url":"https://api.github.com/users/EiffelWebFramework/orgs","repos_url":"https://api.github.com/users/EiffelWebFramework/repos","events_url":"https://api.github.com/users/EiffelWebFramework/events{/privacy}","received_events_url":"https://api.github.com/users/EiffelWebFramework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EiffelWebFramework/ROC","description":"Rest on CMS ","fork":false,"url":"https://api.github.com/repos/EiffelWebFramework/ROC","forks_url":"https://api.github.com/repos/EiffelWebFramework/ROC/forks","keys_url":"https://api.github.com/repos/EiffelWebFramework/ROC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EiffelWebFramework/ROC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EiffelWebFramework/ROC/teams","hooks_url":"https://api.github.com/repos/EiffelWebFramework/ROC/hooks","issue_events_url":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/events{/number}","events_url":"https://api.github.com/repos/EiffelWebFramework/ROC/events","assignees_url":"https://api.github.com/repos/EiffelWebFramework/ROC/assignees{/user}","branches_url":"https://api.github.com/repos/EiffelWebFramework/ROC/branches{/branch}","tags_url":"https://api.github.com/repos/EiffelWebFramework/ROC/tags","blobs_url":"https://api.github.com/repos/EiffelWebFramework/ROC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EiffelWebFramework/ROC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EiffelWebFramework/ROC/git/refs{/sha}","trees_url":"https://api.github.com/repos/EiffelWebFramework/ROC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EiffelWebFramework/ROC/statuses/{sha}","languages_url":"https://api.github.com/repos/EiffelWebFramework/ROC/languages","stargazers_url":"https://api.github.com/repos/EiffelWebFramework/ROC/stargazers","contributors_url":"https://api.github.com/repos/EiffelWebFramework/ROC/contributors","subscribers_url":"https://api.github.com/repos/EiffelWebFramework/ROC/subscribers","subscription_url":"https://api.github.com/repos/EiffelWebFramework/ROC/subscription","commits_url":"https://api.github.com/repos/EiffelWebFramework/ROC/commits{/sha}","git_commits_url":"https://api.github.com/repos/EiffelWebFramework/ROC/git/commits{/sha}","comments_url":"https://api.github.com/repos/EiffelWebFramework/ROC/comments{/number}","issue_comment_url":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/comments{/number}","contents_url":"https://api.github.com/repos/EiffelWebFramework/ROC/contents/{+path}","compare_url":"https://api.github.com/repos/EiffelWebFramework/ROC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EiffelWebFramework/ROC/merges","archive_url":"https://api.github.com/repos/EiffelWebFramework/ROC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EiffelWebFramework/ROC/downloads","issues_url":"https://api.github.com/repos/EiffelWebFramework/ROC/issues{/number}","pulls_url":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls{/number}","milestones_url":"https://api.github.com/repos/EiffelWebFramework/ROC/milestones{/number}","notifications_url":"https://api.github.com/repos/EiffelWebFramework/ROC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EiffelWebFramework/ROC/labels{/name}","releases_url":"https://api.github.com/repos/EiffelWebFramework/ROC/releases{/id}","created_at":"2014-09-15T17:38:02Z","updated_at":"2015-05-04T21:17:20Z","pushed_at":"2015-05-11T19:39:06Z","git_url":"git://github.com/EiffelWebFramework/ROC.git","ssh_url":"git@github.com:EiffelWebFramework/ROC.git","clone_url":"https://github.com/EiffelWebFramework/ROC.git","svn_url":"https://github.com/EiffelWebFramework/ROC","homepage":null,"size":1250,"stargazers_count":0,"watchers_count":0,"language":"Eiffel","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/22"},"html":{"href":"https://github.com/EiffelWebFramework/ROC/pull/22"},"issue":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/22"},"comments":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/EiffelWebFramework/ROC/statuses/e767e1bc4775013e5839cda4e8eb637f3d6d1f5a"}}}}