-
Notifications
You must be signed in to change notification settings - Fork 92
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
Support grants and revokes on foreign tables #725
Support grants and revokes on foreign tables #725
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nickgsc hello, thanks for the PR! LGTM, a rare case when everything necessary like a changelog fragment and tests is in place, well done!
Folks, maybe we should also add to the DOCUMENTATION section that this kind of tables is supported since 3.6.0
?
probably wouldn't hurt @Andersson007 (hence approving but not merging) |
I have one other issue to report (related to the |
Sure, please update the docs and we'll merge this PR, then we'll wait for the subscription PR - we have no problem with releasing not as often as we should;) |
SUMMARY
Fixes #724
ISSUE TYPE
COMPONENT NAME
postgresql_privs
ADDITIONAL INFORMATION
See #724 for reproduction steps and the nature of the issue. The fix is straight-forward, we simply need to include
relkind='f'
in our acls check in order for foreign tables to be considered by the privs module