box: allow to access to the granted role in _vuser space#10747
Merged
sergepetrenko merged 1 commit intotarantool:masterfrom Jul 29, 2025
Merged
Conversation
4f277ad to
c24beb3
Compare
drewdzzz
requested changes
Oct 28, 2024
Contributor
drewdzzz
left a comment
There was a problem hiding this comment.
Thanks for the patch!
I left a couple of suggestions.
xuniq
approved these changes
Oct 30, 2024
c72f3af to
471651c
Compare
drewdzzz
reviewed
Jun 11, 2025
Contributor
drewdzzz
left a comment
There was a problem hiding this comment.
Thank you for the fixes!
I have a couple of comments.
471651c to
007cccd
Compare
drewdzzz
approved these changes
Jul 16, 2025
Contributor
drewdzzz
left a comment
There was a problem hiding this comment.
Thank you for the patch, LGTM!
007cccd to
c4c34a4
Compare
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 tarantool#10057 NO_DOC=bugfix
c4c34a4 to
f5cbc0a
Compare
sergepetrenko
approved these changes
Jul 29, 2025
Collaborator
sergepetrenko
left a comment
There was a problem hiding this comment.
Thanks for the patch!
LGTM.
Collaborator
|
Successfully created backport PR for |
Collaborator
|
Successfully created backport PR for |
Collaborator
|
Successfully created backport PR for |
Collaborator
Backport summary
|
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.
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