Permission Denied for Foreign Server
To grant permissions for the foreign server:

GRANT USAGE ON FOREIGN SERVER hr_db TO accounting_user;


More details available in the example on official page https://www.postgresql.org/docs/9.6/static/contrib-dblink-connect.html