3
My system has dynamic roles("groups"), the user adding and putting users in.
Also arrow that if it can insert, edit, delete, etc...
With the use of Asp.net Identity Roles, he can do this dynamically, without the use of "Role = ", that is, without spending it fixed in the controller?
Is there any way? or will I have to do this part of roles from scratch the way I need to...
Hey @Cigano, the first option with ASP.NET Identity tb needs to pass fixed value, if you do not have any example?
– Rod
@Rod You have several examples. See here: http://answall.com/search?q=user%3A2999+Authorize
– Leonel Sanches da Silva
The examples are all with custom, unlike option 1 you quoted in the reply
– Rod
At the time, I meant that you could use Claims instead of Roles, but I expressed myself very badly. I changed the answer to be more objective.
– Leonel Sanches da Silva