{"action":"created","issue":{"url":"https://api.github.com/repos/mongeez/mongeez/issues/56","labels_url":"https://api.github.com/repos/mongeez/mongeez/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/mongeez/mongeez/issues/56/comments","events_url":"https://api.github.com/repos/mongeez/mongeez/issues/56/events","html_url":"https://github.com/mongeez/mongeez/issues/56","id":123790327,"number":56,"title":"not able to run migration script, error: not authorized","user":{"login":"pandey-vikesh","id":13234260,"avatar_url":"https://avatars.githubusercontent.com/u/13234260?v=3","gravatar_id":"","url":"https://api.github.com/users/pandey-vikesh","html_url":"https://github.com/pandey-vikesh","followers_url":"https://api.github.com/users/pandey-vikesh/followers","following_url":"https://api.github.com/users/pandey-vikesh/following{/other_user}","gists_url":"https://api.github.com/users/pandey-vikesh/gists{/gist_id}","starred_url":"https://api.github.com/users/pandey-vikesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandey-vikesh/subscriptions","organizations_url":"https://api.github.com/users/pandey-vikesh/orgs","repos_url":"https://api.github.com/users/pandey-vikesh/repos","events_url":"https://api.github.com/users/pandey-vikesh/events{/privacy}","received_events_url":"https://api.github.com/users/pandey-vikesh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-24T10:51:12Z","updated_at":"2015-12-29T06:40:22Z","closed_at":null,"body":"we are using dropwizard-mongeez which uses mongeez 0.9.4. We have forked the dropwizard-mongeez and upgraded it to use 0.9.5 mongeez but we are facing issues while running migration script: \r\nException in thread \"main\" com.mongodb.MongoCommandException: Command failed with error 13: 'not authorized on testdb to execute command { update: \"mongeez\", ordered: false, updates: [ { q: { type: { $exists: false } }, u: { $set: { type: \"changeSetExecution\" } }, multi: true } ] }' on server localhost:27017. The full response is { \"ok\" : 0.0, \"errmsg\" : \"not authorized on testdb to execute command { update: \\\"mongeez\\\", ordered: false, updates: [ { q: { type: { $exists: false } }, u: { $set: { type: \\\"changeSetExecution\\\" } }, multi: true } ] }\", \"code\" : 13 }\r\n\r\nwe are using mongodb 3.x\r\n\r\nAny help is appreciated.\r\n\r\nThanks,\r\nVikesh"},"comment":{"url":"https://api.github.com/repos/mongeez/mongeez/issues/comments/167730715","html_url":"https://github.com/mongeez/mongeez/issues/56#issuecomment-167730715","issue_url":"https://api.github.com/repos/mongeez/mongeez/issues/56","id":167730715,"user":{"login":"pandey-vikesh","id":13234260,"avatar_url":"https://avatars.githubusercontent.com/u/13234260?v=3","gravatar_id":"","url":"https://api.github.com/users/pandey-vikesh","html_url":"https://github.com/pandey-vikesh","followers_url":"https://api.github.com/users/pandey-vikesh/followers","following_url":"https://api.github.com/users/pandey-vikesh/following{/other_user}","gists_url":"https://api.github.com/users/pandey-vikesh/gists{/gist_id}","starred_url":"https://api.github.com/users/pandey-vikesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandey-vikesh/subscriptions","organizations_url":"https://api.github.com/users/pandey-vikesh/orgs","repos_url":"https://api.github.com/users/pandey-vikesh/repos","events_url":"https://api.github.com/users/pandey-vikesh/events{/privacy}","received_events_url":"https://api.github.com/users/pandey-vikesh/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T06:40:22Z","updated_at":"2015-12-29T06:40:22Z","body":"@epishkin thanks for updating rel notes. But i guess you may have a look at this as well. i tried all things like creating the user with root permissions and creating a custom role with anyresource access but that did not work too. May be, we need to get rid of eval() method and use something more understandable by mongo."}}