{"action":"opened","number":73,"pull_request":{"url":"https://api.github.com/repos/girleffect/core-access-control/pulls/73","id":216299833,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2Mjk5ODMz","html_url":"https://github.com/girleffect/core-access-control/pull/73","diff_url":"https://github.com/girleffect/core-access-control/pull/73.diff","patch_url":"https://github.com/girleffect/core-access-control/pull/73.patch","issue_url":"https://api.github.com/repos/girleffect/core-access-control/issues/73","number":73,"state":"open","locked":false,"title":"GEINFRA-273: Invitation Redirect URLs","user":{"login":"cobusc","id":574390,"node_id":"MDQ6VXNlcjU3NDM5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/574390?v=4","gravatar_id":"","url":"https://api.github.com/users/cobusc","html_url":"https://github.com/cobusc","followers_url":"https://api.github.com/users/cobusc/followers","following_url":"https://api.github.com/users/cobusc/following{/other_user}","gists_url":"https://api.github.com/users/cobusc/gists{/gist_id}","starred_url":"https://api.github.com/users/cobusc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cobusc/subscriptions","organizations_url":"https://api.github.com/users/cobusc/orgs","repos_url":"https://api.github.com/users/cobusc/repos","events_url":"https://api.github.com/users/cobusc/events{/privacy}","received_events_url":"https://api.github.com/users/cobusc/received_events","type":"User","site_admin":false},"body":"# Background\r\nThe invitation system allows administrators to configure invitations that are sent to people who can then use a link in the invitation email to register an account, to which a pre-configured organisation and roles will be assigned. When registration is done, we display a \"Congratulations! You have registered\" page. This was deemed sub-optimal. The thought was that users should be able to go directly to _some_ site where they can log in with their credentials.\r\n\r\n# What was done\r\nAn invitation definition now has an optional `redirect_url` associated with it. The URL must come from a list of pre-configured URLs, called `InvitationRedirectUrl`s.\r\n\r\nThis PR contains the following modifications:\r\n* An `Invitation` now has a `invitation_redirect_url_id` field, which is a foreign key to an `invitation_redirect_url` table.\r\n* New resources have been exposed as `/invitationredirecturls/`\r\n* A migrations was added for the model changes\r\n* Tests were added for the new model/resource and the tests for `Invitations` were also updated to include a case where the `invitation_redirect_url_id` field is used.","created_at":"2018-09-18T13:03:38Z","updated_at":"2018-09-18T13:03:38Z","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/girleffect/core-access-control/pulls/73/commits","review_comments_url":"https://api.github.com/repos/girleffect/core-access-control/pulls/73/comments","review_comment_url":"https://api.github.com/repos/girleffect/core-access-control/pulls/comments{/number}","comments_url":"https://api.github.com/repos/girleffect/core-access-control/issues/73/comments","statuses_url":"https://api.github.com/repos/girleffect/core-access-control/statuses/541eb16c5abc3e4ee7715834cd18153a51895445","head":{"label":"girleffect:cobusc-GEINFRA-273","ref":"cobusc-GEINFRA-273","sha":"541eb16c5abc3e4ee7715834cd18153a51895445","user":{"login":"girleffect","id":33266906,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjY2OTA2","avatar_url":"https://avatars2.githubusercontent.com/u/33266906?v=4","gravatar_id":"","url":"https://api.github.com/users/girleffect","html_url":"https://github.com/girleffect","followers_url":"https://api.github.com/users/girleffect/followers","following_url":"https://api.github.com/users/girleffect/following{/other_user}","gists_url":"https://api.github.com/users/girleffect/gists{/gist_id}","starred_url":"https://api.github.com/users/girleffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girleffect/subscriptions","organizations_url":"https://api.github.com/users/girleffect/orgs","repos_url":"https://api.github.com/users/girleffect/repos","events_url":"https://api.github.com/users/girleffect/events{/privacy}","received_events_url":"https://api.github.com/users/girleffect/received_events","type":"Organization","site_admin":false},"repo":{"id":112724787,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI3MjQ3ODc=","name":"core-access-control","full_name":"girleffect/core-access-control","private":false,"owner":{"login":"girleffect","id":33266906,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjY2OTA2","avatar_url":"https://avatars2.githubusercontent.com/u/33266906?v=4","gravatar_id":"","url":"https://api.github.com/users/girleffect","html_url":"https://github.com/girleffect","followers_url":"https://api.github.com/users/girleffect/followers","following_url":"https://api.github.com/users/girleffect/following{/other_user}","gists_url":"https://api.github.com/users/girleffect/gists{/gist_id}","starred_url":"https://api.github.com/users/girleffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girleffect/subscriptions","organizations_url":"https://api.github.com/users/girleffect/orgs","repos_url":"https://api.github.com/users/girleffect/repos","events_url":"https://api.github.com/users/girleffect/events{/privacy}","received_events_url":"https://api.github.com/users/girleffect/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/girleffect/core-access-control","description":null,"fork":false,"url":"https://api.github.com/repos/girleffect/core-access-control","forks_url":"https://api.github.com/repos/girleffect/core-access-control/forks","keys_url":"https://api.github.com/repos/girleffect/core-access-control/keys{/key_id}","collaborators_url":"https://api.github.com/repos/girleffect/core-access-control/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/girleffect/core-access-control/teams","hooks_url":"https://api.github.com/repos/girleffect/core-access-control/hooks","issue_events_url":"https://api.github.com/repos/girleffect/core-access-control/issues/events{/number}","events_url":"https://api.github.com/repos/girleffect/core-access-control/events","assignees_url":"https://api.github.com/repos/girleffect/core-access-control/assignees{/user}","branches_url":"https://api.github.com/repos/girleffect/core-access-control/branches{/branch}","tags_url":"https://api.github.com/repos/girleffect/core-access-control/tags","blobs_url":"https://api.github.com/repos/girleffect/core-access-control/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/girleffect/core-access-control/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/girleffect/core-access-control/git/refs{/sha}","trees_url":"https://api.github.com/repos/girleffect/core-access-control/git/trees{/sha}","statuses_url":"https://api.github.com/repos/girleffect/core-access-control/statuses/{sha}","languages_url":"https://api.github.com/repos/girleffect/core-access-control/languages","stargazers_url":"https://api.github.com/repos/girleffect/core-access-control/stargazers","contributors_url":"https://api.github.com/repos/girleffect/core-access-control/contributors","subscribers_url":"https://api.github.com/repos/girleffect/core-access-control/subscribers","subscription_url":"https://api.github.com/repos/girleffect/core-access-control/subscription","commits_url":"https://api.github.com/repos/girleffect/core-access-control/commits{/sha}","git_commits_url":"https://api.github.com/repos/girleffect/core-access-control/git/commits{/sha}","comments_url":"https://api.github.com/repos/girleffect/core-access-control/comments{/number}","issue_comment_url":"https://api.github.com/repos/girleffect/core-access-control/issues/comments{/number}","contents_url":"https://api.github.com/repos/girleffect/core-access-control/contents/{+path}","compare_url":"https://api.github.com/repos/girleffect/core-access-control/compare/{base}...{head}","merges_url":"https://api.github.com/repos/girleffect/core-access-control/merges","archive_url":"https://api.github.com/repos/girleffect/core-access-control/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/girleffect/core-access-control/downloads","issues_url":"https://api.github.com/repos/girleffect/core-access-control/issues{/number}","pulls_url":"https://api.github.com/repos/girleffect/core-access-control/pulls{/number}","milestones_url":"https://api.github.com/repos/girleffect/core-access-control/milestones{/number}","notifications_url":"https://api.github.com/repos/girleffect/core-access-control/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/girleffect/core-access-control/labels{/name}","releases_url":"https://api.github.com/repos/girleffect/core-access-control/releases{/id}","deployments_url":"https://api.github.com/repos/girleffect/core-access-control/deployments","created_at":"2017-12-01T10:03:34Z","updated_at":"2018-09-06T08:18:19Z","pushed_at":"2018-09-18T12:53:45Z","git_url":"git://github.com/girleffect/core-access-control.git","ssh_url":"git@github.com:girleffect/core-access-control.git","clone_url":"https://github.com/girleffect/core-access-control.git","svn_url":"https://github.com/girleffect/core-access-control","homepage":null,"size":6419,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"girleffect:develop","ref":"develop","sha":"adc78d92a2a06192722c0b20d96c9ebe941a6389","user":{"login":"girleffect","id":33266906,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjY2OTA2","avatar_url":"https://avatars2.githubusercontent.com/u/33266906?v=4","gravatar_id":"","url":"https://api.github.com/users/girleffect","html_url":"https://github.com/girleffect","followers_url":"https://api.github.com/users/girleffect/followers","following_url":"https://api.github.com/users/girleffect/following{/other_user}","gists_url":"https://api.github.com/users/girleffect/gists{/gist_id}","starred_url":"https://api.github.com/users/girleffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girleffect/subscriptions","organizations_url":"https://api.github.com/users/girleffect/orgs","repos_url":"https://api.github.com/users/girleffect/repos","events_url":"https://api.github.com/users/girleffect/events{/privacy}","received_events_url":"https://api.github.com/users/girleffect/received_events","type":"Organization","site_admin":false},"repo":{"id":112724787,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI3MjQ3ODc=","name":"core-access-control","full_name":"girleffect/core-access-control","private":false,"owner":{"login":"girleffect","id":33266906,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjY2OTA2","avatar_url":"https://avatars2.githubusercontent.com/u/33266906?v=4","gravatar_id":"","url":"https://api.github.com/users/girleffect","html_url":"https://github.com/girleffect","followers_url":"https://api.github.com/users/girleffect/followers","following_url":"https://api.github.com/users/girleffect/following{/other_user}","gists_url":"https://api.github.com/users/girleffect/gists{/gist_id}","starred_url":"https://api.github.com/users/girleffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girleffect/subscriptions","organizations_url":"https://api.github.com/users/girleffect/orgs","repos_url":"https://api.github.com/users/girleffect/repos","events_url":"https://api.github.com/users/girleffect/events{/privacy}","received_events_url":"https://api.github.com/users/girleffect/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/girleffect/core-access-control","description":null,"fork":false,"url":"https://api.github.com/repos/girleffect/core-access-control","forks_url":"https://api.github.com/repos/girleffect/core-access-control/forks","keys_url":"https://api.github.com/repos/girleffect/core-access-control/keys{/key_id}","collaborators_url":"https://api.github.com/repos/girleffect/core-access-control/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/girleffect/core-access-control/teams","hooks_url":"https://api.github.com/repos/girleffect/core-access-control/hooks","issue_events_url":"https://api.github.com/repos/girleffect/core-access-control/issues/events{/number}","events_url":"https://api.github.com/repos/girleffect/core-access-control/events","assignees_url":"https://api.github.com/repos/girleffect/core-access-control/assignees{/user}","branches_url":"https://api.github.com/repos/girleffect/core-access-control/branches{/branch}","tags_url":"https://api.github.com/repos/girleffect/core-access-control/tags","blobs_url":"https://api.github.com/repos/girleffect/core-access-control/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/girleffect/core-access-control/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/girleffect/core-access-control/git/refs{/sha}","trees_url":"https://api.github.com/repos/girleffect/core-access-control/git/trees{/sha}","statuses_url":"https://api.github.com/repos/girleffect/core-access-control/statuses/{sha}","languages_url":"https://api.github.com/repos/girleffect/core-access-control/languages","stargazers_url":"https://api.github.com/repos/girleffect/core-access-control/stargazers","contributors_url":"https://api.github.com/repos/girleffect/core-access-control/contributors","subscribers_url":"https://api.github.com/repos/girleffect/core-access-control/subscribers","subscription_url":"https://api.github.com/repos/girleffect/core-access-control/subscription","commits_url":"https://api.github.com/repos/girleffect/core-access-control/commits{/sha}","git_commits_url":"https://api.github.com/repos/girleffect/core-access-control/git/commits{/sha}","comments_url":"https://api.github.com/repos/girleffect/core-access-control/comments{/number}","issue_comment_url":"https://api.github.com/repos/girleffect/core-access-control/issues/comments{/number}","contents_url":"https://api.github.com/repos/girleffect/core-access-control/contents/{+path}","compare_url":"https://api.github.com/repos/girleffect/core-access-control/compare/{base}...{head}","merges_url":"https://api.github.com/repos/girleffect/core-access-control/merges","archive_url":"https://api.github.com/repos/girleffect/core-access-control/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/girleffect/core-access-control/downloads","issues_url":"https://api.github.com/repos/girleffect/core-access-control/issues{/number}","pulls_url":"https://api.github.com/repos/girleffect/core-access-control/pulls{/number}","milestones_url":"https://api.github.com/repos/girleffect/core-access-control/milestones{/number}","notifications_url":"https://api.github.com/repos/girleffect/core-access-control/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/girleffect/core-access-control/labels{/name}","releases_url":"https://api.github.com/repos/girleffect/core-access-control/releases{/id}","deployments_url":"https://api.github.com/repos/girleffect/core-access-control/deployments","created_at":"2017-12-01T10:03:34Z","updated_at":"2018-09-06T08:18:19Z","pushed_at":"2018-09-18T12:53:45Z","git_url":"git://github.com/girleffect/core-access-control.git","ssh_url":"git@github.com:girleffect/core-access-control.git","clone_url":"https://github.com/girleffect/core-access-control.git","svn_url":"https://github.com/girleffect/core-access-control","homepage":null,"size":6419,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/girleffect/core-access-control/pulls/73"},"html":{"href":"https://github.com/girleffect/core-access-control/pull/73"},"issue":{"href":"https://api.github.com/repos/girleffect/core-access-control/issues/73"},"comments":{"href":"https://api.github.com/repos/girleffect/core-access-control/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/girleffect/core-access-control/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/girleffect/core-access-control/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/girleffect/core-access-control/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/girleffect/core-access-control/statuses/541eb16c5abc3e4ee7715834cd18153a51895445"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":1249,"deletions":28,"changed_files":17}}
{"actor":{"display_login":"cobusc"}}