tweaks to new can_upload_free flag #2469

This commit is contained in:
r888888888
2015-10-15 16:23:18 -07:00
parent 6480864718
commit 5a853bcedb
6 changed files with 38 additions and 6 deletions

View File

@@ -32,6 +32,10 @@ class UserPresenter
permissions << "approve posts"
end
if user.can_upload_free?
permissions << "unrestricted uploads"
end
permissions.join(", ")
end