Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fvirga/new query route #1538

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

fvirga/new query route #1538

wants to merge 13 commits into from

Conversation

francescov1
Copy link
Contributor

See #1536 for relevant comments & context (same diff, just created on a fork instead of direct on repo)

@francescov1 francescov1 marked this pull request as ready for review August 28, 2023 21:10
@github-actions
Copy link

github-actions bot commented Aug 28, 2023

Unit Test Results

0 tests  ±0   0 ✔️ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ±0 

Results for commit ea19c51. ± Comparison against base commit 0df190f.

♻️ This comment has been updated with latest results.

@@ -260,7 +260,7 @@ def determine_billable_directory_file_and_instance(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #1536 for comments about the diffs

@@ -25,13 +25,6 @@ def __init__(self, session, project, member, directory = None):
self.session = session
self.member = member
self.directory = directory
# Additional security check just for sanity
Project_permissions.by_project_core(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a duplicate.
Context is that this is called later in SqlAlchemyQueryExecutor

Part of larger goal of aligning permissions into the same place

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also that in general we are trying to put more validation at execution stage rather then prep/build stage (e.g dataset IDs which rely on the query string builder to format it first)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants