{"action":"created","issue":{"url":"https://api.github.com/repos/rnewson/couchdb-lucene/issues/94","repository_url":"https://api.github.com/repos/rnewson/couchdb-lucene","labels_url":"https://api.github.com/repos/rnewson/couchdb-lucene/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/rnewson/couchdb-lucene/issues/94/comments","events_url":"https://api.github.com/repos/rnewson/couchdb-lucene/issues/94/events","html_url":"https://github.com/rnewson/couchdb-lucene/issues/94","id":418448,"number":94,"title":" only the admins should be allowed to do index maintenance","user":{"login":"anandology","id":7569,"avatar_url":"https://avatars.githubusercontent.com/u/7569?v=3","gravatar_id":"","url":"https://api.github.com/users/anandology","html_url":"https://github.com/anandology","followers_url":"https://api.github.com/users/anandology/followers","following_url":"https://api.github.com/users/anandology/following{/other_user}","gists_url":"https://api.github.com/users/anandology/gists{/gist_id}","starred_url":"https://api.github.com/users/anandology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anandology/subscriptions","organizations_url":"https://api.github.com/users/anandology/orgs","repos_url":"https://api.github.com/users/anandology/repos","events_url":"https://api.github.com/users/anandology/events{/privacy}","received_events_url":"https://api.github.com/users/anandology/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2010-11-15T04:48:41Z","updated_at":"2016-09-15T09:27:06Z","closed_at":null,"body":"\r\ncouchdb-lucene index maintanance operations like `_optimize`, `_expunge` and `_cleanup` should be accessible only with the admin credentials. \r\n\r\nFor exampe, my couchdb database doesn't allow me do `_compact` without admin credentials, but allowes me to `_optmize` couchdb-lucene index.\r\n\r\n    $ curl -X POST http://localhost:15984/editions/_compact\r\n    {\"error\":\"unauthorized\",\"reason\":\"You are not a db or server admin.\"}\r\n    $ curl -X POST http://localhost:15984/editions/_fti/_design/seeds/by_seed/_optimize\r\n    {\"ok\":true}\r\n"},"comment":{"url":"https://api.github.com/repos/rnewson/couchdb-lucene/issues/comments/247280088","html_url":"https://github.com/rnewson/couchdb-lucene/issues/94#issuecomment-247280088","issue_url":"https://api.github.com/repos/rnewson/couchdb-lucene/issues/94","id":247280088,"user":{"login":"drlinux","id":954041,"avatar_url":"https://avatars.githubusercontent.com/u/954041?v=3","gravatar_id":"","url":"https://api.github.com/users/drlinux","html_url":"https://github.com/drlinux","followers_url":"https://api.github.com/users/drlinux/followers","following_url":"https://api.github.com/users/drlinux/following{/other_user}","gists_url":"https://api.github.com/users/drlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/drlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drlinux/subscriptions","organizations_url":"https://api.github.com/users/drlinux/orgs","repos_url":"https://api.github.com/users/drlinux/repos","events_url":"https://api.github.com/users/drlinux/events{/privacy}","received_events_url":"https://api.github.com/users/drlinux/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T09:27:06Z","updated_at":"2016-09-15T09:27:06Z","body":"It seems you have set the  [authentication] (https://github.com/rnewson/couchdb-lucene#authentication) credentials in the couchdb-lucene.ini file. I think there is no way to manage that..."}}
{"actor":{"display_login":"drlinux"}}