Send team and permissionID dynamically