Issue#15: Added Comment Notifications: notification_emails and comments view
This commit is contained in:
parent
a73ca335a9
commit
38e8be8793
16 changed files with 155 additions and 13 deletions
|
|
@ -137,6 +137,7 @@ class Ability
|
|||
can :manage, Sponsor, conference_id: conf_ids_for_organizer
|
||||
can :manage, SponsorshipLevel, conference_id: conf_ids_for_organizer
|
||||
can :manage, Ticket, conference_id: conf_ids_for_organizer
|
||||
can :manage, Comment, conference_id: conf_ids_for_organizer
|
||||
end
|
||||
|
||||
def signed_in_with_cfp_role(user)
|
||||
|
|
@ -155,6 +156,7 @@ class Ability
|
|||
can :manage, CallForPaper, conference_id: conf_ids_for_cfp
|
||||
can :manage, Commercial, commercialable_type: 'Event',
|
||||
commercialable_id: Event.where(conference_id: conf_ids_for_cfp).pluck(:id)
|
||||
can :manage, Comment, conference_id: conf_ids_for_cfp
|
||||
end
|
||||
|
||||
def signed_in_with_info_desk_role(user)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue