A ‘Permission’ or ‘Role’ data type which stores permissions data for a particular User and particular Team.
For some of my apps where users are part of multiple times, we store a List of Permissions on the User (as well as List of Teams). When the user updates their Selected Team, we updated their Selected Permissions too. Workflow/element conditions reference Current User’s Selected Permissions (the permission the user has within the team)