starting ad_banner auth
This commit is contained in:
1 parent
c35cd2e3a6
commit
f663985a40
4 files changed
+15
-1
No files matched your search
Vendored
+1
-1
@@ -2,7 +2,7 @@ module Panel::Announcement::BackEnd::BulletinsHelper
|
||||
|
||||
def show_approval_link(bulletin)
|
||||
by_bulletin = (!bulletin.is_expired? and !bulletin.is_checked?)
|
||||
by_user = (bulletin.bulletin_category.authed_users('fact_check').include?(current_user) or is_manager?)
|
||||
by_user = (bulletin.bulletin_category.authed_users('fact_check').include?(current_user) or is_manager? or is_admin?)
|
||||
by_bulletin and by_user
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user