Skip to content

Commit

Permalink
Set a valid UUID for osidb.acl on connection start
Browse files Browse the repository at this point in the history
The single quotation marks were being treated as part of the string
instead of denoting a string, thus removing them and adding a dummy
"NULL" UUID seems to do the trick.
  • Loading branch information
Adrian Torres committed Dec 20, 2022
1 parent a3c4a40 commit 6478a42
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/settings_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"gssencmode": "disable",
# this is a hack due to our inability to set a custom parameter either at
# the database or role level in managed databases such as AWS RDS
"options": "-c osidb.acl=''",
"options": "-c osidb.acl=00000000-0000-0000-0000-000000000000",
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion config/settings_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"gssencmode": "disable",
# this is a hack due to our inability to set a custom parameter either at
# the database or role level in managed databases such as AWS RDS
"options": "-c osidb.acl=''",
"options": "-c osidb.acl=00000000-0000-0000-0000-000000000000",
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion config/settings_prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"gssencmode": "disable",
# this is a hack due to our inability to set a custom parameter either at
# the database or role level in managed databases such as AWS RDS
"options": "-c osidb.acl=''",
"options": "-c osidb.acl=00000000-0000-0000-0000-000000000000",
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion config/settings_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"gssencmode": "disable",
# this is a hack due to our inability to set a custom parameter either at
# the database or role level in managed databases such as AWS RDS
"options": "-c osidb.acl=''",
"options": "-c osidb.acl=00000000-0000-0000-0000-000000000000",
},
}
}
2 changes: 1 addition & 1 deletion config/settings_stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"gssencmode": "disable",
# this is a hack due to our inability to set a custom parameter either at
# the database or role level in managed databases such as AWS RDS
"options": "-c osidb.acl=''",
"options": "-c osidb.acl=00000000-0000-0000-0000-000000000000",
},
}
}
Expand Down

0 comments on commit 6478a42

Please sign in to comment.