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

--schema-qualify-objects functionality and some bugfixes #204

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

ellmkay
Copy link

@ellmkay ellmkay commented Jan 30, 2017

Fix column access privilege parsing.
Fix search-path output for privilege-only diffs in a multi-schema scenario.

Both fixes have test-cases.

ellmkay and others added 3 commits January 20, 2017 23:41
parser couldn't handle the way Postgres collates the column-list to the
privilege: 
GRANT ALL(col1) ON TABLE table1 TO ellmkay;

This is now fixed in the parser, and a test-case is added.
instead of adding 'SET search_path' statements prior to diff output (the
default behaviour), all statements will be schema-qualified.

This commit touches quite a few files in the project, and also fixes a
few privilege related bugs in passing. 

A thorough test case is also added.
@ellmkay ellmkay changed the title 2 bugfixes --schema-qualify-objects functionality and some bugfixes Jan 31, 2017
@chadfurman
Copy link
Collaborator

Might not need to be done in light of recent RLS changes?

Either way, has conflicts and also needs another 👍

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.

2 participants