gitlab-org--gitlab-foss/app/helpers/invite_members_helper.rb

7 lines
212 B
Ruby

# frozen_string_literal: true
module InviteMembersHelper
def invite_members_allowed?(group)
Feature.enabled?(:invite_members_group_modal, group) && can?(current_user, :admin_group_member, group)
end
end