Users: add Contributor and Approver user levels
This commit is contained in:
@@ -120,7 +120,7 @@ class Post < ApplicationRecord
|
||||
tag_string: tag_string,
|
||||
rating: rating,
|
||||
parent_id: parent_id,
|
||||
is_pending: !upload.uploader.can_upload_free? || is_pending.to_s.truthy?,
|
||||
is_pending: !upload.uploader.is_contributor? || is_pending.to_s.truthy?,
|
||||
artist_commentary: (commentary if commentary.any_field_present?),
|
||||
)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user