Skip to content

Function grant//create doc improvments #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bigbes opened this issue Jul 22, 2016 · 0 comments
Closed

Function grant//create doc improvments #21

bigbes opened this issue Jul 22, 2016 · 0 comments
Assignees

Comments

@bigbes
Copy link
Contributor

bigbes commented Jul 22, 2016

  1. Specifying if_not_exists=true would cause error: Function '...' already exists if the function already exists. in https://tarantool.org/doc/book/box/authentication.html?highlight=authentication#functions-and-the-func-space

true must be replaced with false

tarantool> box.schema.func.create('f1')

---
...
tarantool> box.schema.func.create('f1')

---
- error: Function 'f1' already exists
...
tarantool> box.schema.func.create('f1', {if_not_exists=true})

---
...
  1. Mention, that if you want grant function execution, you need to create that function first here https://tarantool.org/doc/book/box/box_schema.html#lua-function.box.schema.user.grant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants