-
Notifications
You must be signed in to change notification settings - Fork 24
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
Scottx611x/tool manager views cleanup #2991
Changes from all commits
6f65bd2
cef670b
4433c89
f6423ad
d8c797e
caa3303
3a8ecc8
d22616d
fd8dc3d
db8f239
9badcc2
546bcca
5b8bfd5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
query: { | ||
method: 'GET', | ||
isArray: true, | ||
params: { dataSetUuid: '' } | ||
params: { data_set_uuid: '' } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, since it's a url query. Worth noting for json it's camelCase styling. https://google.github.io/styleguide/jsoncstyleguide.xml?showone=Property_Name_Format#Property_Name_Format There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I wasn't sold on one way vs. the other, but I can change the backend code to work with |
||
} | ||
} | ||
); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@scottx611x Any user can hit this endpoint and grab analyses or visualizations with a dataSetUuid. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, this is just the
get_queryset
method. The permission logic happens in thelist()
Actually looking into if I can use DRF
permission_classes
here instead.