libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 175345643cee786d9adf8a92a0e73af46ba69949
parent 6769028b6e38ec38c28c03577a3f778188cf5147
Author: Antoine A <>
Date:   Tue, 27 Jan 2026 10:37:31 +0100

conversion: fix dbconfig rights

Diffstat:
Mcontrib/libeufin-dbconfig | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/contrib/libeufin-dbconfig b/contrib/libeufin-dbconfig @@ -260,7 +260,10 @@ fi # bank permission to access nexus schema if both component are setup if [[ 0 == "$SKIP_INIT" || 1 == "$FORCE_PERMS" ]] && [[ 0 == "$SKIP_BANK" && 0 == "$SKIP_NEXUS" ]]; then echo "Setting postgres permissions for '$BANK_DBUSER'" 1>&2 - grant_schema_access "$BANK_DBUSER" "libeufin_nexus" + if ! echo "GRANT \"$NEXUS_DBUSER\" TO \"$BANK_DBUSER\"" | + sudo -i -u postgres psql "$DBNAME"; then + exit_fail "Failed to grant \"$NEXUS_DBUSER\" privilege to \"$BANK_DBUSER\"" + fi fi echo "Database configuration finished." 1>&2