Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mattia Rizzolo
nm.debian.org
Commits
e0f381b3
Verified
Commit
e0f381b3
authored
Apr 24, 2020
by
Pierre-Elliott Bécue
🚼
Browse files
Fix an ACL check issue for DownloadStatements
parent
1ee3376b
Changes
1
Hide whitespace changes
Inline
Side-by-side
process/views.py
View file @
e0f381b3
...
...
@@ -511,6 +511,8 @@ class UpdateKeycheck(RequirementMixin, View):
class
DownloadStatements
(
VisitProcessMixin
,
View
):
require_visit_perms
=
"view_intent"
def
get
(
self
,
request
,
*
args
,
**
kw
):
data
=
self
.
process
.
get_statements_as_mbox
()
res
=
http
.
HttpResponse
(
data
,
content_type
=
"text/plain"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment