Skip to content

Fix table grant with schema#1315

Merged
david22swan merged 5 commits into
puppetlabs:mainfrom
vaol:fix_table_grant_with_schema
Sep 26, 2022
Merged

Fix table grant with schema#1315
david22swan merged 5 commits into
puppetlabs:mainfrom
vaol:fix_table_grant_with_schema

Conversation

@vaol

@vaol vaol commented Dec 1, 2021

Copy link
Copy Markdown
Contributor

There was an issue using postgresql::server::grant::onlyif_exists = true and specifying a schema postgresql::server::grant::object_name = ['myschema', 'mytable'] as the onlyif check was including the schema in the query in pg_* views.

@vaol vaol requested a review from a team as a code owner December 1, 2021 22:47
@puppet-community-rangefinder

Copy link
Copy Markdown

postgresql::server::grant is a type

that may have no external impact to Forge modules.

This module is declared in 70 of 578 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@CLAassistant

CLAassistant commented Dec 1, 2021

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@github-actions

github-actions Bot commented May 7, 2022

Copy link
Copy Markdown
Contributor

This PR has been marked as stale because it has been open for a while and has had no recent activity. If this PR is still important to you please drop a comment below and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days.

@github-actions github-actions Bot added the stale label May 7, 2022
@vaol

vaol commented May 9, 2022

Copy link
Copy Markdown
Contributor Author

Hello, yes this is still important as it fixes an issue. Thanks for reviewing !

@chelnak chelnak removed the stale label May 9, 2022
@chelnak chelnak closed this Jun 20, 2022
@chelnak chelnak reopened this Jun 20, 2022
@puppet-community-rangefinder

Copy link
Copy Markdown

postgresql::server::grant is a type

Breaking changes to this file WILL impact these 2 modules (exact match):
Breaking changes to this file MAY impact these 1 modules (near match):

This module is declared in 70 of 579 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@ekohl

ekohl commented Jun 20, 2022

Copy link
Copy Markdown
Collaborator

The EL 8 test failures can be ignored (they also fail without this PR), but I do wonder if you can come up with a test that shows the new behavior.

@github-actions

Copy link
Copy Markdown
Contributor

Hello! 👋

This pull request has been open for a while and has had no recent activity. We've labelled it with attention-needed so that we can get a clear view of which PRs need our attention.

If you are waiting on a response from us we will try and address your comments on a future Community Day.

Alternatively, if it is no longer relevant to you please close the PR with a comment.

Please note that if a pull request receives no update for 7 after it has been labelled, it will be closed. We are always happy to re-open pull request if they have been closed in error.

@vaol

vaol commented Aug 21, 2022

Copy link
Copy Markdown
Contributor Author

Hello, thanks for the note. I just added a test on this specific case. Thank you for reviewing.

@david22swan david22swan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@david22swan david22swan merged commit 2cf1fa9 into puppetlabs:main Sep 26, 2022
@david22swan

Copy link
Copy Markdown
Member

@vaol Thanks for putting in the work :)

1 similar comment
@david22swan

Copy link
Copy Markdown
Member

@vaol Thanks for putting in the work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants