Hi and thank you very much for your quick reply, Yogesh.
Just one follow-up question: you wrote that LDAP users will be assigned to the User role by default. If I understand the docs correctly, I can enable LDAP by just setting environment variables, so maybe I could solve my use case with the current implementation. Only one last piece is missing: can I somehow restrict the access to pgAdmin to a certain LDAP group via an environment variable?
I guess you should be able to specify that in 'LDAP_SEARCH_FILTER':filter for user search. You can refer this link for more information.
In this pgAdmin will not have any role in filtering/limiting users to access.
I want to setup a pgAdmin instance for our team using the Docker deployment. As our organization uses Active Directory, I'd like to assign the pgAdmin User role to a specific AD group when starting the pgAdmin Docker container.
Within the docs I already found the option to use pgAdmin with LDAP, so hopefully accessing our AD should work.
What I didn't find: is it possible to assign a pgAdmin role to an AD group or only to AD users? And if yes, can this automatically happen on Docker container start (e. g. by using an environment variable or a config file similar to servers.json)?
Or put in other words: is it possible that it looks like this after container start only by configuration without any manual interaction?