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

nixos/postgresql: drop ensurePermissions option #287602

Merged
merged 1 commit into from
Mar 7, 2024

Commits on Feb 12, 2024

  1. nixos/postgresql: drop ensurePermissions option

    ...effectively what was planned already in NixOS#266270, but it was too late
    because the branches were restricted and didn't allow any breaking
    changes anymore.
    
    It also suffers from the same issue that we already had when discussing
    this the last time[1] when `ensureDBOwnership` was ultimately introduced
    as band-aid fix: newly created users don't get CREATE permission on
    the `public` schema anymore (since psql 15), even with `ALL PRIVILEGES`.
    
    If one's use-case is more sophisticated than having a single owner, it's
    questionable anyways if this module is the correct tool since
    permissions aren't dropped on a change to this option or a removal which
    is pretty surprising in the context of NixOS.
    
    [1] NixOS#266270
    Ma27 committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    d363f52 View commit details
    Browse the repository at this point in the history