Skip to content

Commit a531918

Browse files
committed
Fixes rst syntax
1 parent 6c9e8a1 commit a531918

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/reference/reference_lua/box_schema/user_disable.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ box.schema.user.disable()
1616
1717
.. NOTE::
1818

19-
``session`` - (cannot be granted to a role) if is not granted, ``IPROTO_AUTH`` always fails connection to the user, so does ``box.session.su()``
20-
``usage`` - (cannot be granted to a role) lets user use their privileges on database objects (e.g. read, write and alter space)
19+
``session`` - (cannot be granted to a role) if is not granted, ``IPROTO_AUTH`` always fails connection to the user, so does ``box.session.su()``
20+
``usage`` - (cannot be granted to a role) lets user use their privileges on database objects (e.g. read, write and alter space)
2121

2222
For more information about revoking permissions see section :ref:`box.schema.user.revoke <box_schema-user_revoke>`.
2323

doc/reference/reference_lua/box_schema/user_enable.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ box.schema.user.enable()
1111
Grants ``usage`` and ``session`` permissions to the subject user. Equivalent to the following call:
1212

1313
.. code-block:: lua
14-
14+
1515
box.schema.user.grant('{username}','usage,session','universe',nil,{if_not_exists=true})
1616
1717
.. NOTE::
1818

19-
``session`` - (cannot be granted to a role) if is not granted, ``IPROTO_AUTH`` always fails connection to the user, so does ``box.session.su()``
20-
``usage`` - (cannot be granted to a role) lets user use their privileges on database objects (e.g. read, write and alter space)
19+
``session`` - (cannot be granted to a role) if is not granted, ``IPROTO_AUTH`` always fails connection to the user, so does ``box.session.su()``
20+
``usage`` - (cannot be granted to a role) lets user use their privileges on database objects (e.g. read, write and alter space)
2121

2222
For more information about granting permissions see section :ref:`box.schema.user.grant <box_schema-user_grant>`.
2323

0 commit comments

Comments
 (0)