tarantool / tarantool/doc

Исправить описание ```box.schema.user.grant``` в части опции ```{if_exists=true}```

Open Beginner friendly
#5,124 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

translate
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Related dev. issue(s): GitHub link(s)

Product: Tarantool
Root document: https://www.tarantool.io/ru/doc/latest/reference/reference_lua/box_schema/user_grant/
SME: @ tecl1s

Details

В файле есть текст:

Должен существовать пользователь, должен существовать объект, но если задано {if_exists=true}, то ошибки не будет, если у пользователя нет прав.

Он звучит немного нескладно. Может быть подправить его как-то так:
Отсутствие объекта или пользователя приводит к ошибке. В случае отсутствия у пользователя прав на объект, ошибка не возникнет при {if_exists=true}.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the root document at reference/reference_lua/box_schema/user_grant/ and locate the description of the {if_exists=true} option. Read the surrounding grant behavior and revise the Russian wording to clarify that missing users or objects still cause errors, while missing privileges do not with this option. Done means the description is clear and accurately reflects the stated behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.