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

Configure role per database #584

Closed
danielwestermann opened this issue Jan 30, 2024 · 2 comments
Closed

Configure role per database #584

danielwestermann opened this issue Jan 30, 2024 · 2 comments
Labels

Comments

@danielwestermann
Copy link

Hi,

first of all thank you for ldap2pg, great tool.

I have a question for which I cannot find the answer in the docs or in any of issues. What I want to do is something like this:

alter { role } in database { database } set session authorization b;

The reason is that roles shall switch session authorization automatically and I want to avoid having them issuing "set role" manually.

Is something like this possible?

Best regards
Daniel

@bersace
Copy link
Member

bersace commented Apr 8, 2024

ldap2pg handle global role configuration, not per database.

@bersace bersace added the feature label Apr 8, 2024
@bersace bersace changed the title IS it possible to do a "alter role a in database postgres set session authorization b;"? Configure role per database Apr 8, 2024
@bersace
Copy link
Member

bersace commented Apr 8, 2024

Duplicate of #572 . Please reopen if I'm wrong.

@bersace bersace closed this as completed Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants