summaryrefslogtreecommitdiff
path: root/elm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-04-25 11:49:35 +0200
committerYorhel <git@yorhel.nl>2020-04-25 11:49:38 +0200
commit00fbcdf96432efad85abdbc7392d493409a4c253 (patch)
tree3d178c47dfda62789779d694d272e54ca47ff525 /elm
parent51013437fc47b2e7fb43c8dc5a89392341dffa09 (diff)
imgflag: Ignore votes from users who do not have the imgvote permission
Bug (kind of): deleting a user with !perm_imgvote will suddenly cause the votes to count again. Need to take care to delete the votes instead in that case.
Diffstat (limited to 'elm')
-rw-r--r--elm/User/Edit.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/User/Edit.elm b/elm/User/Edit.elm
index aa9d2ce0..5d6b8cea 100644
--- a/elm/User/Edit.elm
+++ b/elm/User/Edit.elm
@@ -157,7 +157,7 @@ view model =
[ label [] [ inputCheck "" data.perm_board (Set << PermBoard), text (" board (default)") ], br_ 1
, label [] [ inputCheck "" data.perm_boardmod (Set << PermBoardmod), text (" boardmod") ], br_ 1
, label [] [ inputCheck "" data.perm_edit (Set << PermEdit), text (" edit (default)") ], br_ 1
- , label [] [ inputCheck "" data.perm_imgvote (Set << PermImgvote), text (" imgvote (default)") ], br_ 1
+ , label [] [ inputCheck "" data.perm_imgvote (Set << PermImgvote), text (" imgvote (default - existing votes will stop counting when unset)") ], br_ 1
, label [] [ inputCheck "" data.perm_tag (Set << PermTag), text (" tag (default)") ], br_ 1
, label [] [ inputCheck "" data.perm_dbmod (Set << PermDbmod), text (" dbmod") ], br_ 1
, label [] [ inputCheck "" data.perm_tagmod (Set << PermTagmod), text (" tagmod") ], br_ 1