Skip to content

Commit

Permalink
limit the database role privileges to just the test schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Oct 2, 2024
1 parent 74af1d5 commit 3c8bdd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/auth_tests/test_database_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def setup(self, project):
sql = f"""
GRANT
ALL PRIVILEGES ON FUTURE TABLES
IN DATABASE {project.database}
IN SCHEMA {project.test_schema}
TO DATABASE ROLE {role}
"""
project.run_sql(sql)
Expand Down

0 comments on commit 3c8bdd6

Please sign in to comment.