Commit 2024522b authored by Lin Jen-Shin's avatar Lin Jen-Shin

Bring changes from EE

parent d38eb9bb
......@@ -24,7 +24,7 @@ class ProjectTeam
end
def add_role(user, role, current_user: nil)
send(:"add_#{role}", user, current_user: current_user) # rubocop:disable GitlabSecurity/PublicSend
public_send(:"add_#{role}", user, current_user: current_user) # rubocop:disable GitlabSecurity/PublicSend
end
def find_member(user_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment