in app/auth/BearerTokenAuth.scala [186:192]
def checkUserGroup(claimsSet: JWTClaimsSet) = {
if(!claimsSet.getIsMMAdmin && !claimsSet.getIsMMCreator) {
Left(LoginResultInvalid("You don't have access to this system. Contact Multimediatech if you think this is an error."))
} else {
Right(LoginResultOK(claimsSet))
}
}