@Peter Koller Previously roles with CREATEROLE privileges could change many aspects of any non-superuser role. Such changes, including adding members, now require the role requesting the change to have ADMIN OPTION permission. For example, they can now change the CREATEDB, REPLICATION, and BYPASSRLS properties only if they also have those permissions.
https://www.postgresql.org/docs/16/release-16.html
Please follow the below steps here
Regards
Geetha