I've looking around for an answer to the question: "can Identity 2.0 be extended to allow the same user to have different roles on different scenarios"? In other words, can I extend the AspNetUserRoles to have 1 or more custom columns? I have seen some examples on how to add new fields to the Roles table but not to the relationship between Users and Roles.
Adding new columns to AspNetUserRoles would allow me to assign UserX a RoleA in ScenarioA and a RoleB in ScenarioB.
I want to stick to the native authorization mechanism but don't want to fiddle with it in ways that it was not meant to. In that case, I'll build my own tables.
Does someone know of a way to accomplish this?
Thanks!