`locked_tags` parameter inconsistency for moderators
faucetlol opened this issue · comments
The locked tags input is shown on the uploader to users ranked moderator+
e621ng/app/views/uploads/new.html.erb
Line 41 in aedea61
But the parameter itself is only permitted for admin+
The presence of the locked tags input causes any attempted upload by a moderator (using the default form, at least) to fail with the message Error: found unpermitted parameter: :locked_tags
.
However, moderators are able to lock tags on pre-existing posts.
e621ng/app/controllers/posts_controller.rb
Line 176 in aedea61