getItemIfAllowed

open fun getItemIfAllowed(userId: String, teamId: String): Team

Method used to get an item if the user is authorized