Method: GithubAuthentication::CoverbandReportersWeb#github_organization_authenticate!

Defined in:
lib/github_authentication/coverband_reporters_web.rb

#github_organization_authenticate!(user, organization, team) ⇒ Object (private)



26
27
28
29
# File 'lib/github_authentication/coverband_reporters_web.rb', line 26

def github_organization_authenticate!(user, organization, team)
  user.organization_member?(organization) &&
    user.team_member?(team)
end