Private
Public Access
1
0

forgot to save

This commit is contained in:
Sander Roosendaal
2020-01-07 14:20:22 +01:00
parent 7d5fa928d3
commit 92cc9d5811

View File

@@ -4453,7 +4453,7 @@ def alert_report_view(request,id=0,userid=0,nperiod=0):
raise Http404("This alert doesn't exist")
if alert.manager != request.user:
if not checkalertowner(alert,request.user):
raise PermissionDenied('You are not allowed to edit this Alert')
stats = alert_get_stats(alert,nperiod=nperiod)