{"action":"opened","issue":{"url":"https://api.github.com/repos/neumino/thinky/issues/549","repository_url":"https://api.github.com/repos/neumino/thinky","labels_url":"https://api.github.com/repos/neumino/thinky/issues/549/labels{/name}","comments_url":"https://api.github.com/repos/neumino/thinky/issues/549/comments","events_url":"https://api.github.com/repos/neumino/thinky/issues/549/events","html_url":"https://github.com/neumino/thinky/issues/549","id":172300885,"number":549,"title":"Prevent r.dbCreate() from being called during create model? ","user":{"login":"jasonsokolowski","id":21149998,"avatar_url":"https://avatars.githubusercontent.com/u/21149998?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonsokolowski","html_url":"https://github.com/jasonsokolowski","followers_url":"https://api.github.com/users/jasonsokolowski/followers","following_url":"https://api.github.com/users/jasonsokolowski/following{/other_user}","gists_url":"https://api.github.com/users/jasonsokolowski/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonsokolowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonsokolowski/subscriptions","organizations_url":"https://api.github.com/users/jasonsokolowski/orgs","repos_url":"https://api.github.com/users/jasonsokolowski/repos","events_url":"https://api.github.com/users/jasonsokolowski/events{/privacy}","received_events_url":"https://api.github.com/users/jasonsokolowski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-21T02:21:12Z","updated_at":"2016-08-21T02:21:12Z","closed_at":null,"body":"I'm currently setting up user security for a particular database. The user has been granted full, read/write/config for that specific empty database. \r\n\r\nr.db(\"databaseName\").grant(\"username\", {read: true, write: true, config: true})\r\n\r\nHowever, for obvious reasons, it does not have config globally. Is there a way to prevent calling dbCreate() on startup? Or am I missing something obvious? It prevents the rest of the tables / indexes from being generated. \r\n\r\nUnhandled rejection ReqlRuntimeError: User `username` does not have the required `config` permission in:\r\nr.dbCreate(\"databaseName\")\r\n\r\nThanks!"}}
{"actor":{"display_login":"jasonsokolowski"}}