{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/708","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/708/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/708/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/708/events","html_url":"https://github.com/couchbase/sync_gateway/issues/708","id":60129532,"number":708,"title":"admin party on default sync_gateway bucket","user":{"login":"jchris","id":253,"avatar_url":"https://avatars.githubusercontent.com/u/253?v=3","gravatar_id":"","url":"https://api.github.com/users/jchris","html_url":"https://github.com/jchris","followers_url":"https://api.github.com/users/jchris/followers","following_url":"https://api.github.com/users/jchris/following{/other_user}","gists_url":"https://api.github.com/users/jchris/gists{/gist_id}","starred_url":"https://api.github.com/users/jchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchris/subscriptions","organizations_url":"https://api.github.com/users/jchris/orgs","repos_url":"https://api.github.com/users/jchris/repos","events_url":"https://api.github.com/users/jchris/events{/privacy}","received_events_url":"https://api.github.com/users/jchris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-06T17:05:51Z","updated_at":"2015-03-27T23:08:54Z","closed_at":null,"body":"I am a lazy developer so when I start a new project I often config my iOS simulator apps to sync with `http://localhost:4985` (eg the admin port). I think this is bad practice because it leads to us wanting to do things like enable CORS on the admin port or whatever.\r\n\r\nInstead we should have an out-of-the-box admin party, maybe by adding this to the default config for the `sync_gateway` bucket:\r\n\r\n```js\r\n\"users\": {\r\n\t\t\t\t\"GUEST\": {\"disabled\": false, \"admin_channels\": [\"*\"] }\r\n\t\t\t}\r\n```\r\n\r\nMaking this change would eliminate having to configure Sync Gateway from many hello world applications and tutorials. Eg you could just start it with `./sync_gateway` and it would work for hello world.\r\n"},"comment":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/comments/87117206","html_url":"https://github.com/couchbase/sync_gateway/issues/708#issuecomment-87117206","issue_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/708","id":87117206,"user":{"login":"zgramana","id":759830,"avatar_url":"https://avatars.githubusercontent.com/u/759830?v=3","gravatar_id":"","url":"https://api.github.com/users/zgramana","html_url":"https://github.com/zgramana","followers_url":"https://api.github.com/users/zgramana/followers","following_url":"https://api.github.com/users/zgramana/following{/other_user}","gists_url":"https://api.github.com/users/zgramana/gists{/gist_id}","starred_url":"https://api.github.com/users/zgramana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zgramana/subscriptions","organizations_url":"https://api.github.com/users/zgramana/orgs","repos_url":"https://api.github.com/users/zgramana/repos","events_url":"https://api.github.com/users/zgramana/events{/privacy}","received_events_url":"https://api.github.com/users/zgramana/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T23:08:54Z","updated_at":"2015-03-27T23:08:54Z","body":"After discussing this with @adamcfraser we should enable @jchris's admin-party proposal, but change the default SG behavior to only listen to localhost:4984 by default (just like with the admin port). This prevents accidental disclosure of data on the Internet."}}