Looks like once you create a team, Spark autoselects one if you are not in the context of one. Current team is tracked by current_team_id in the user model, currentTeam() method selects the first team if none is selected and sets that value in the DB. Therefore what I would like is not possible in spark without modifying core functionality I do not want to touch.
Nov 21, 2018
1
Level 2
Deselect spark team
How do I (or is it possible) to allow a user to opearate NOT in a context of a team in my spark app? I would like a user to see items that only apply to a team if the user is under a team, but to see items from all teams they belong to if not under a specific team's context.
Please or to participate in this conversation.