Module: AdditionalTags::Patches::JournalPatch::InstanceOverwriteMethods

Defined in:
lib/additional_tags/patches/journal_patch.rb

Instance Method Summary collapse

Instance Method Details

#visible_details(user = User.current) ⇒ Object



13
14
15
16
# File 'lib/additional_tags/patches/journal_patch.rb', line 13

def visible_details(user = User.current)
  details = super
  details.reject { |x| x.prop_key == 'tag_list' && !user.allowed_to?(:view_issue_tags, project) }
end