{"action":"created","comment":{"url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/comments/39518115","id":39518115,"diff_hunk":"@@ -259,7 +261,20 @@ public RuleForm apply(NetworkAuthorization<RuleForm> facet,\n                                                  .merge(facet),\n                                   model.getCurrentPrincipal()\n                                        .getPrincipal());\n-        return instance;\n+        if (!checkInvoke(facet, instance)) {\n+            return null;\n+        }\n+        return constructor.apply(instance);\n+    }\n+\n+    public boolean checkInvoke(NetworkAuthorization<RuleForm> facet,","path":"animations/src/main/java/com/chiralbehaviors/CoRE/phantasm/model/PhantasmCRUD.java","position":38,"original_position":38,"commit_id":"9ec9e8d29c31f9845836d7007849d5803c370293","original_commit_id":"9ec9e8d29c31f9845836d7007849d5803c370293","user":{"login":"Hellblazer","id":4781,"avatar_url":"https://avatars.githubusercontent.com/u/4781?v=3","gravatar_id":"","url":"https://api.github.com/users/Hellblazer","html_url":"https://github.com/Hellblazer","followers_url":"https://api.github.com/users/Hellblazer/followers","following_url":"https://api.github.com/users/Hellblazer/following{/other_user}","gists_url":"https://api.github.com/users/Hellblazer/gists{/gist_id}","starred_url":"https://api.github.com/users/Hellblazer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hellblazer/subscriptions","organizations_url":"https://api.github.com/users/Hellblazer/orgs","repos_url":"https://api.github.com/users/Hellblazer/repos","events_url":"https://api.github.com/users/Hellblazer/events{/privacy}","received_events_url":"https://api.github.com/users/Hellblazer/received_events","type":"User","site_admin":false},"body":"refactored from FacetType","created_at":"2015-09-15T14:40:51Z","updated_at":"2015-09-15T14:40:51Z","html_url":"https://github.com/ChiralBehaviors/Ultrastructure/pull/144#discussion_r39518115","pull_request_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/144","_links":{"self":{"href":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/comments/39518115"},"html":{"href":"https://github.com/ChiralBehaviors/Ultrastructure/pull/144#discussion_r39518115"},"pull_request":{"href":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/144"}}},"pull_request":{"url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/144","id":45057470,"html_url":"https://github.com/ChiralBehaviors/Ultrastructure/pull/144","diff_url":"https://github.com/ChiralBehaviors/Ultrastructure/pull/144.diff","patch_url":"https://github.com/ChiralBehaviors/Ultrastructure/pull/144.patch","issue_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/issues/144","number":144,"state":"open","locked":false,"title":"Add constructor functions to PhantasmCRUD.","user":{"login":"Hellblazer","id":4781,"avatar_url":"https://avatars.githubusercontent.com/u/4781?v=3","gravatar_id":"","url":"https://api.github.com/users/Hellblazer","html_url":"https://github.com/Hellblazer","followers_url":"https://api.github.com/users/Hellblazer/followers","following_url":"https://api.github.com/users/Hellblazer/following{/other_user}","gists_url":"https://api.github.com/users/Hellblazer/gists{/gist_id}","starred_url":"https://api.github.com/users/Hellblazer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hellblazer/subscriptions","organizations_url":"https://api.github.com/users/Hellblazer/orgs","repos_url":"https://api.github.com/users/Hellblazer/repos","events_url":"https://api.github.com/users/Hellblazer/events{/privacy}","received_events_url":"https://api.github.com/users/Hellblazer/received_events","type":"User","site_admin":false},"body":"Apply the Phantasm plugin's constructors during \"create instance\" and\r\n\"apply to instance\".","created_at":"2015-09-15T14:38:47Z","updated_at":"2015-09-15T14:40:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c562ccb3cfd80277bfa34f01740a474dad8e4b13","assignee":{"login":"meleemistress","id":1760052,"avatar_url":"https://avatars.githubusercontent.com/u/1760052?v=3","gravatar_id":"","url":"https://api.github.com/users/meleemistress","html_url":"https://github.com/meleemistress","followers_url":"https://api.github.com/users/meleemistress/followers","following_url":"https://api.github.com/users/meleemistress/following{/other_user}","gists_url":"https://api.github.com/users/meleemistress/gists{/gist_id}","starred_url":"https://api.github.com/users/meleemistress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meleemistress/subscriptions","organizations_url":"https://api.github.com/users/meleemistress/orgs","repos_url":"https://api.github.com/users/meleemistress/repos","events_url":"https://api.github.com/users/meleemistress/events{/privacy}","received_events_url":"https://api.github.com/users/meleemistress/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/milestones/1","html_url":"https://github.com/ChiralBehaviors/Ultrastructure/milestones/2.0.0","labels_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/milestones/1/labels","id":1295674,"number":1,"title":"2.0.0","description":"Release 2.0.0 of the Ultrastructure platform.","creator":{"login":"Hellblazer","id":4781,"avatar_url":"https://avatars.githubusercontent.com/u/4781?v=3","gravatar_id":"","url":"https://api.github.com/users/Hellblazer","html_url":"https://github.com/Hellblazer","followers_url":"https://api.github.com/users/Hellblazer/followers","following_url":"https://api.github.com/users/Hellblazer/following{/other_user}","gists_url":"https://api.github.com/users/Hellblazer/gists{/gist_id}","starred_url":"https://api.github.com/users/Hellblazer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hellblazer/subscriptions","organizations_url":"https://api.github.com/users/Hellblazer/orgs","repos_url":"https://api.github.com/users/Hellblazer/repos","events_url":"https://api.github.com/users/Hellblazer/events{/privacy}","received_events_url":"https://api.github.com/users/Hellblazer/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":11,"state":"open","created_at":"2015-09-08T14:50:56Z","updated_at":"2015-09-15T14:38:47Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/144/commits","review_comments_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/144/comments","review_comment_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/issues/144/comments","statuses_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/statuses/9ec9e8d29c31f9845836d7007849d5803c370293","head":{"label":"ChiralBehaviors:invoke-constructors-on-apply","ref":"invoke-constructors-on-apply","sha":"9ec9e8d29c31f9845836d7007849d5803c370293","user":{"login":"ChiralBehaviors","id":4594503,"avatar_url":"https://avatars.githubusercontent.com/u/4594503?v=3","gravatar_id":"","url":"https://api.github.com/users/ChiralBehaviors","html_url":"https://github.com/ChiralBehaviors","followers_url":"https://api.github.com/users/ChiralBehaviors/followers","following_url":"https://api.github.com/users/ChiralBehaviors/following{/other_user}","gists_url":"https://api.github.com/users/ChiralBehaviors/gists{/gist_id}","starred_url":"https://api.github.com/users/ChiralBehaviors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChiralBehaviors/subscriptions","organizations_url":"https://api.github.com/users/ChiralBehaviors/orgs","repos_url":"https://api.github.com/users/ChiralBehaviors/repos","events_url":"https://api.github.com/users/ChiralBehaviors/events{/privacy}","received_events_url":"https://api.github.com/users/ChiralBehaviors/received_events","type":"Organization","site_admin":false},"repo":{"id":8896307,"name":"Ultrastructure","full_name":"ChiralBehaviors/Ultrastructure","owner":{"login":"ChiralBehaviors","id":4594503,"avatar_url":"https://avatars.githubusercontent.com/u/4594503?v=3","gravatar_id":"","url":"https://api.github.com/users/ChiralBehaviors","html_url":"https://github.com/ChiralBehaviors","followers_url":"https://api.github.com/users/ChiralBehaviors/followers","following_url":"https://api.github.com/users/ChiralBehaviors/following{/other_user}","gists_url":"https://api.github.com/users/ChiralBehaviors/gists{/gist_id}","starred_url":"https://api.github.com/users/ChiralBehaviors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChiralBehaviors/subscriptions","organizations_url":"https://api.github.com/users/ChiralBehaviors/orgs","repos_url":"https://api.github.com/users/ChiralBehaviors/repos","events_url":"https://api.github.com/users/ChiralBehaviors/events{/privacy}","received_events_url":"https://api.github.com/users/ChiralBehaviors/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ChiralBehaviors/Ultrastructure","description":"An implementation of Ultrastructure using PostgreSQL,","fork":false,"url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure","forks_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/forks","keys_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/teams","hooks_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/hooks","issue_events_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/issues/events{/number}","events_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/events","assignees_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/assignees{/user}","branches_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/branches{/branch}","tags_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/tags","blobs_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/statuses/{sha}","languages_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/languages","stargazers_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/stargazers","contributors_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/contributors","subscribers_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/subscribers","subscription_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/subscription","commits_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/contents/{+path}","compare_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/merges","archive_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/downloads","issues_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/issues{/number}","pulls_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls{/number}","milestones_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/milestones{/number}","notifications_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/labels{/name}","releases_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/releases{/id}","created_at":"2013-03-20T04:44:11Z","updated_at":"2015-05-09T22:53:31Z","pushed_at":"2015-09-15T14:38:47Z","git_url":"git://github.com/ChiralBehaviors/Ultrastructure.git","ssh_url":"git@github.com:ChiralBehaviors/Ultrastructure.git","clone_url":"https://github.com/ChiralBehaviors/Ultrastructure.git","svn_url":"https://github.com/ChiralBehaviors/Ultrastructure","homepage":"","size":19928,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":5,"default_branch":"master"}},"base":{"label":"ChiralBehaviors:master","ref":"master","sha":"548d2852e9ce1ca10e83e3f47fb82181a17be5cf","user":{"login":"ChiralBehaviors","id":4594503,"avatar_url":"https://avatars.githubusercontent.com/u/4594503?v=3","gravatar_id":"","url":"https://api.github.com/users/ChiralBehaviors","html_url":"https://github.com/ChiralBehaviors","followers_url":"https://api.github.com/users/ChiralBehaviors/followers","following_url":"https://api.github.com/users/ChiralBehaviors/following{/other_user}","gists_url":"https://api.github.com/users/ChiralBehaviors/gists{/gist_id}","starred_url":"https://api.github.com/users/ChiralBehaviors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChiralBehaviors/subscriptions","organizations_url":"https://api.github.com/users/ChiralBehaviors/orgs","repos_url":"https://api.github.com/users/ChiralBehaviors/repos","events_url":"https://api.github.com/users/ChiralBehaviors/events{/privacy}","received_events_url":"https://api.github.com/users/ChiralBehaviors/received_events","type":"Organization","site_admin":false},"repo":{"id":8896307,"name":"Ultrastructure","full_name":"ChiralBehaviors/Ultrastructure","owner":{"login":"ChiralBehaviors","id":4594503,"avatar_url":"https://avatars.githubusercontent.com/u/4594503?v=3","gravatar_id":"","url":"https://api.github.com/users/ChiralBehaviors","html_url":"https://github.com/ChiralBehaviors","followers_url":"https://api.github.com/users/ChiralBehaviors/followers","following_url":"https://api.github.com/users/ChiralBehaviors/following{/other_user}","gists_url":"https://api.github.com/users/ChiralBehaviors/gists{/gist_id}","starred_url":"https://api.github.com/users/ChiralBehaviors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChiralBehaviors/subscriptions","organizations_url":"https://api.github.com/users/ChiralBehaviors/orgs","repos_url":"https://api.github.com/users/ChiralBehaviors/repos","events_url":"https://api.github.com/users/ChiralBehaviors/events{/privacy}","received_events_url":"https://api.github.com/users/ChiralBehaviors/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ChiralBehaviors/Ultrastructure","description":"An implementation of Ultrastructure using PostgreSQL,","fork":false,"url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure","forks_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/forks","keys_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/teams","hooks_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/hooks","issue_events_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/issues/events{/number}","events_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/events","assignees_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/assignees{/user}","branches_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/branches{/branch}","tags_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/tags","blobs_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/statuses/{sha}","languages_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/languages","stargazers_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/stargazers","contributors_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/contributors","subscribers_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/subscribers","subscription_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/subscription","commits_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/contents/{+path}","compare_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/merges","archive_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/downloads","issues_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/issues{/number}","pulls_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls{/number}","milestones_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/milestones{/number}","notifications_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/labels{/name}","releases_url":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/releases{/id}","created_at":"2013-03-20T04:44:11Z","updated_at":"2015-05-09T22:53:31Z","pushed_at":"2015-09-15T14:38:47Z","git_url":"git://github.com/ChiralBehaviors/Ultrastructure.git","ssh_url":"git@github.com:ChiralBehaviors/Ultrastructure.git","clone_url":"https://github.com/ChiralBehaviors/Ultrastructure.git","svn_url":"https://github.com/ChiralBehaviors/Ultrastructure","homepage":"","size":19928,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/144"},"html":{"href":"https://github.com/ChiralBehaviors/Ultrastructure/pull/144"},"issue":{"href":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/issues/144"},"comments":{"href":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/ChiralBehaviors/Ultrastructure/statuses/9ec9e8d29c31f9845836d7007849d5803c370293"}}}}