[backport 3.2] box: allow to access to the granted role in _vuser space#11724
Merged
sergepetrenko merged 1 commit intorelease/3.2from Jul 30, 2025
Merged
[backport 3.2] box: allow to access to the granted role in _vuser space#11724sergepetrenko merged 1 commit intorelease/3.2from
sergepetrenko merged 1 commit intorelease/3.2from
Conversation
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)
xuniq
approved these changes
Jul 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(This PR is a backport of #10747 to
release/3.2to a future3.2.2release.)Prior to this patch it was not possible for a user to see any role in the
_vuserspace except the one created by him and thepublicone.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