diff options
author | Yorhel <git@yorhel.nl> | 2021-07-28 13:06:13 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2021-07-28 13:06:13 +0200 |
commit | fde850392cc8edcd7d498267577c8c4f17a15dda (patch) | |
tree | 7b4531cd72a8b3435961070d34d83123f5fe6c5c /lib/VNWeb/Validation.pm | |
parent | 5ae9955a6016759355e1928372d1adff49c395ac (diff) |
Users: remove "imgmod" permission flag, use "dbmod" for that
Diffstat (limited to 'lib/VNWeb/Validation.pm')
-rw-r--r-- | lib/VNWeb/Validation.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Validation.pm b/lib/VNWeb/Validation.pm index 823fde01..9796351b 100644 --- a/lib/VNWeb/Validation.pm +++ b/lib/VNWeb/Validation.pm @@ -214,7 +214,7 @@ sub validate_dbid { sub can_edit { my($type, $entry) = @_; - return auth->permUsermod || auth->permDbmod || auth->permImgmod || auth->permBoardmod || auth->permTagmod || (auth && $entry->{id} eq auth->uid) if $type eq 'u'; + return auth->permUsermod || auth->permDbmod || auth->permBoardmod || auth->permTagmod || (auth && $entry->{id} eq auth->uid) if $type eq 'u'; return auth->permDbmod if $type eq 'd'; if($type eq 't') { |