зеркало из https://github.com/mozilla/treeherder.git
Bug 1209555 - Fix job_log_url permission classes
This commit is contained in:
Родитель
be64542d11
Коммит
82d518682e
|
@ -12,6 +12,7 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
|
||||
class JobLogUrlViewSet(viewsets.ViewSet):
|
||||
permission_classes = (permissions.HasHawkOrLegacyOauthPermissionsOrReadOnly,)
|
||||
|
||||
"""
|
||||
A job_log_url object holds a reference to a job log.
|
||||
|
@ -45,8 +46,7 @@ class JobLogUrlViewSet(viewsets.ViewSet):
|
|||
|
||||
return Response(job_log_url_list)
|
||||
|
||||
@detail_route(methods=['post'],
|
||||
permission_classes=(permissions.HasLegacyOauthPermissions,))
|
||||
@detail_route(methods=['post'])
|
||||
@with_jobs
|
||||
def update_parse_status(self, request, project, jm, pk=None):
|
||||
"""
|
||||
|
|
Загрузка…
Ссылка в новой задаче