Fix permission check on disk space detail view
This commit is contained in:
parent
69638b6b6d
commit
d1494af0a1
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
Changelog
|
||||
=========
|
||||
|
||||
* :bug:`-` fix missing permission check on disk space detail view
|
||||
|
||||
* :release:`0.14.2 <2023-07-22>`
|
||||
* :bug:`-` fix division by zero for hosting packages without disk space allocation
|
||||
|
||||
|
|
|
@ -321,7 +321,7 @@ class UploadCustomerPackageDiskUsage(APIView):
|
|||
return Response("Accepted", status=http.HTTPStatus.ACCEPTED)
|
||||
|
||||
|
||||
class CustomerHostingPackageDiskUsageDetails(DetailView):
|
||||
class CustomerHostingPackageDiskUsageDetails(StaffOrSelfLoginRequiredMixin, DetailView):
|
||||
template_name_suffix = "_disk_usage_details"
|
||||
model = CustomerHostingPackage
|
||||
pk_url_kwarg = "package"
|
||||
|
|
Loading…
Reference in a new issue