Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for granted by propagation for grant statements without filtering non-distributed roles #7558

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

gurkanindibay
Copy link
Contributor

@gurkanindibay gurkanindibay commented Mar 12, 2024

This is related to #7538.
In this PR, non-distributed roles are not being filtered when executing grant statements and sending grant statements in metadata sync.
According to the requirements that @JelteF expressed, most of the time non distributed roles exists in all nodes but they are not marked as distributed in pg_dist_object.

Either this PR or #7538 should be accepted. Please evaluate both PR's together and be aware that just one of them will be merged

Copy link

codecov bot commented Mar 12, 2024

Codecov Report

Merging #7558 (9874a07) into main (8afa2d0) will decrease coverage by 0.07%.
The diff coverage is 66.11%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7558      +/-   ##
==========================================
- Coverage   89.69%   89.63%   -0.07%     
==========================================
  Files         282      282              
  Lines       60462    60525      +63     
  Branches     7530     7539       +9     
==========================================
+ Hits        54233    54251      +18     
- Misses       4078     4118      +40     
- Partials     2151     2156       +5     

@gurkanindibay gurkanindibay changed the title Granted by propagation non filter Adds support for granted by propagation for grant statements without filtering non-distributed roles Mar 13, 2024
@gurkanindibay gurkanindibay marked this pull request as ready for review March 13, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant