I have built a web api with asp.net identity and bearer token auth.
I understand that roles outcome is true/false and a claim is a finer grained statement about an user.
But a claim of type role is just something abstract just a name like "ProjectManager" and it is written NOWHERE what are the permissions this Claim of type role has. I have not seen any sample doing this, but before claims exist in 2010 I did an application with Roles N ---- M Permissions.
and the Permissions were a
[Flag]
Enum Permissions
{
CanWriteX = 0
HasTopicAcess = 1
//....
}
Where can I see this old approach with role claims?