Fixing access rules for postgres users