Skip to content

[backport 3.3] box: allow to access to the granted role in _vuser space#11725

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

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

Conversation

@TarantoolBot
Copy link
Collaborator

@TarantoolBot TarantoolBot commented Jul 29, 2025

(This PR is a backport of #10747 to release/3.3 to a future 3.3.3 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 added the full-ci Enables all tests for a pull request label Jul 29, 2025
@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.3] box: allow to access to the granted role in _vuser space [backport 3.3] box: allow to access to the granted role in _vuser space Jul 29, 2025
@coveralls
Copy link

Coverage Status

coverage: 87.559% (+0.02%) from 87.535%
when pulling 5cb65eb on backport/release/3.3/10747
into 1c35ec5
on release/3.3
.

@sergepetrenko sergepetrenko merged commit 22a9097 into release/3.3 Jul 30, 2025
56 of 66 checks passed
@sergepetrenko sergepetrenko deleted the backport/release/3.3/10747 branch July 30, 2025 14:48
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