chore(security): Renaming schemas_accessible_by_user (#10030)

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley
2020-06-11 11:29:43 -07:00
committed by GitHub
parent c9ee598ac9
commit 54c6ddbdb7
6 changed files with 14 additions and 10 deletions

View File

@@ -76,7 +76,7 @@ class CsvToDatabaseForm(DynamicForm):
):
return True
schemas = database.get_schema_access_for_csv_upload()
if schemas and security_manager.schemas_accessible_by_user(
if schemas and security_manager.get_schemas_accessible_by_user(
database, schemas, False
):
return True