{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip/issues/1867","repository_url":"https://api.github.com/repos/zulip/zulip","labels_url":"https://api.github.com/repos/zulip/zulip/issues/1867/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/1867/comments","events_url":"https://api.github.com/repos/zulip/zulip/issues/1867/events","html_url":"https://github.com/zulip/zulip/issues/1867","id":179634932,"number":1867,"title":"Manage allowed domains from admin settings.","user":{"login":"rishig","id":890911,"avatar_url":"https://avatars.githubusercontent.com/u/890911?v=3","gravatar_id":"","url":"https://api.github.com/users/rishig","html_url":"https://github.com/rishig","followers_url":"https://api.github.com/users/rishig/followers","following_url":"https://api.github.com/users/rishig/following{/other_user}","gists_url":"https://api.github.com/users/rishig/gists{/gist_id}","starred_url":"https://api.github.com/users/rishig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishig/subscriptions","organizations_url":"https://api.github.com/users/rishig/orgs","repos_url":"https://api.github.com/users/rishig/repos","events_url":"https://api.github.com/users/rishig/events{/privacy}","received_events_url":"https://api.github.com/users/rishig/received_events","type":"User","site_admin":false},"labels":[{"id":461204569,"url":"https://api.github.com/repos/zulip/zulip/labels/area:%20admin","name":"area: admin","color":"bfd4f2","default":false},{"id":273621476,"url":"https://api.github.com/repos/zulip/zulip/labels/bite%20size","name":"bite size","color":"bfe5bf","default":false},{"id":265216831,"url":"https://api.github.com/repos/zulip/zulip/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":265216832,"url":"https://api.github.com/repos/zulip/zulip/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-27T22:44:48Z","updated_at":"2016-12-28T04:17:21Z","closed_at":null,"body":"Currently an administrator needs to use the realm_alias management command [1] to add or remove allowed realms. We should allow editing of this list via the administration settings page. \n\nThis is not something that has to be changed often, so a modal should work fine. I would put a \"Change\" link at the end of the \"users restricted to ...\" setting on the #administration page, shown here:\n![realmalias](https://cloud.githubusercontent.com/assets/890911/18894501/1ecaa21c-84c8-11e6-83b5-002b89082898.png)\n\nThis can open a simple form with a textarea pre-populated with the current domains (which will be stored in `page_params.domains`, once #1866 is merged), one per line. The user should be able to edit the textarea and then submit. `templates/zerver/invite_user.html` might be a useful reference.\n\n[1] `zerver/management/commands/realm_alias.py`, which you can run with `python manage.py realm_alias`\n"},"comment":{"url":"https://api.github.com/repos/zulip/zulip/issues/comments/269423181","html_url":"https://github.com/zulip/zulip/issues/1867#issuecomment-269423181","issue_url":"https://api.github.com/repos/zulip/zulip/issues/1867","id":269423181,"user":{"login":"rishig","id":890911,"avatar_url":"https://avatars.githubusercontent.com/u/890911?v=3","gravatar_id":"","url":"https://api.github.com/users/rishig","html_url":"https://github.com/rishig","followers_url":"https://api.github.com/users/rishig/followers","following_url":"https://api.github.com/users/rishig/following{/other_user}","gists_url":"https://api.github.com/users/rishig/gists{/gist_id}","starred_url":"https://api.github.com/users/rishig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishig/subscriptions","organizations_url":"https://api.github.com/users/rishig/orgs","repos_url":"https://api.github.com/users/rishig/repos","events_url":"https://api.github.com/users/rishig/events{/privacy}","received_events_url":"https://api.github.com/users/rishig/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T04:17:21Z","updated_at":"2016-12-28T04:17:21Z","body":"@HarshitOnGitHub ah cool, I hadn't seen your PR when I posted the comment. The modal looks great, no worries about in-lining it. Thanks!"}}
{"actor":{"display_login":"rishig"}}