Skip to content

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.


self.log[self.project.id]['date_from'] = self.date_from
self.log[self.project.id]['date_to'] = self.date_to

Copy link
Contributor Author

@francescov1 francescov1 Aug 31, 2023

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

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.

3 participants