Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
belenios
belenios
Commits
2bdfd452
Commit
2bdfd452
authored
Apr 03, 2014
by
Stephane Glondu
Browse files
Bugfix: for records, we care about the site user
parent
5c1d0076
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/web/web_election.ml
View file @
2bdfd452
...
...
@@ -368,7 +368,7 @@ module Make (D : ELECTION_DATA) (P : WEB_PARAMS) : REGISTRATION = struct
return
(
s
,
"application/json"
)
let
f_records
user
()
=
match
user
with
match
_lwt
S
.
get_
user
()
with
|
Some
u
->
if
W
.
metadata
.
e_owner
=
Some
u
then
(
(* TODO: streaming *)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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