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

feat: add support for custom grants #39

Merged
merged 1 commit into from
Jun 12, 2023
Merged

feat: add support for custom grants #39

merged 1 commit into from
Jun 12, 2023

Conversation

raffis
Copy link
Member

@raffis raffis commented Jun 9, 2023

Current situation

With postgres v14 the public schema is locked. Meaning permission needs to be set explicitly.

Proposal

Extend the PostgreSQLUser CRD with grants and roles. While grants gets a default rule which adds access to the public schema
if not defined otherwise.
With roles one can grant custom roles to the user (GRANT role to user).

@raffis raffis requested a review from a team as a code owner June 9, 2023 13:50
@github-actions
Copy link

github-actions bot commented Jun 9, 2023

Pull Request Test Coverage Report for Build 5222626638

  • 29 of 29 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.4%) to 74.648%

Totals Coverage Status
Change from base Build 5175076832: 1.4%
Covered Lines: 583
Relevant Lines: 781

💛 - Coveralls

@raffis raffis merged commit 57e312c into master Jun 12, 2023
@raffis raffis deleted the feat-extended-grants branch June 12, 2023 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants