Skip to content

[backport 3.4] box: allow to access to the granted role in _vuser space#11726

Merged
sergepetrenko merged 1 commit intorelease/3.4from
backport/release/3.4/10747
Jul 30, 2025
Merged

[backport 3.4] box: allow to access to the granted role in _vuser space#11726
sergepetrenko merged 1 commit intorelease/3.4from
backport/release/3.4/10747

Conversation

@TarantoolBot
Copy link
Collaborator

@TarantoolBot TarantoolBot commented Jul 29, 2025

(This PR is a backport of #10747 to release/3.4 to a future 3.4.1 release.)


Prior to this patch it was not possible for a user to see any role in the _vuser space except the one created by him and the public one.

Let's also make it possible to see roles that he is granted with, so calls to the box.schema.user.info() functions won't fail if a user has a non-'public' role granted.

Closes #10057

NO_DOC=bugfix

Prior to this patch it was not possible for a user to see any role in
the `_vuser` space except the one created by him and the `public` one.

Let's also make it possible to see roles that he is granted with and
all the roles that role is granted transitively. Now calls to the
`box.schema.user.info()` functions won't fail if a user has a non-
'public' role granted.

Closes #10057

NO_DOC=bugfix

(cherry picked from commit 0280afc)
@TarantoolBot TarantoolBot requested a review from a team as a code owner July 29, 2025 11:53
@TarantoolBot TarantoolBot added the full-ci Enables all tests for a pull request label Jul 29, 2025
@TarantoolBot TarantoolBot changed the title [Backport release/3.4] box: allow to access to the granted role in _vuser space [backport 3.4] box: allow to access to the granted role in _vuser space Jul 29, 2025
@coveralls
Copy link

Coverage Status

coverage: 87.544% (+0.01%) from 87.533%
when pulling c3fda2a on backport/release/3.4/10747
into 0b1ba47
on release/3.4
.

@sergepetrenko sergepetrenko merged commit 32bd35a into release/3.4 Jul 30, 2025
46 of 63 checks passed
@sergepetrenko sergepetrenko deleted the backport/release/3.4/10747 branch July 30, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci Enables all tests for a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants