more perms

This commit is contained in:
Shish
2012-03-31 12:28:34 +01:00
parent f7f70b8600
commit 7ef52c853f
7 changed files with 22 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ class NumericScoreTheme extends Themelet {
<input type='submit' value='Vote Down'>
</form>
";
if($user->is_admin()) {
if($user->can("edit_other_vote")) {
$html .= "
<form action='".make_link("numeric_score/remove_votes_on")."' method='POST'>
".$user->get_auth_html()."