[
https://issues.apache.org/jira/browse/AIRAVATA-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428881#comment-17428881
]
ASF subversion and git services commented on AIRAVATA-3531:
-----------------------------------------------------------
Commit bac19ab232b3fe1fd25356b05c408accc35f22b4 in airavata-django-portal's
branch refs/heads/master from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=bac19ab ]
AIRAVATA-3531 Make sure to import custom code last so that settings take affect
Specifically this makes sure that Django REST Framework settings apply to all
views, both custom and imported ones.
> Custom django apps causing bypass of Django REST Framework auth settings
> ------------------------------------------------------------------------
>
> Key: AIRAVATA-3531
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3531
> Project: Airavata
> Issue Type: Bug
> Components: Django Portal
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> Typical error unauthenticated or when using token based authentication:
> {code}
> TApplicationException at /api/data-products/
> Required field 'authzToken' was not present! Struct:
> getDataProduct_args(authzToken:null,
> dataProductUri:airavata-dp://fd6484a3-f5c6-49a4-ac1b-0bab77207c02)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)