Roles are stored in the AbpRoles table in the database. You can add your own custom properties to the Role class (and create database migrations for the changes).
AbpRole defines some default properties. The most important are:
Name: Unique name of the role in the tenant.
DisplayName: Shown name of the role.
IsDefault: Is this role assigned to new users by default?
IsStatic: Is this role static? (setup during pre-build, and can not be deleted).
Roles are used to group permissions. When a user has a role, then he/she will have all the permissions of that role. A user can have multiple roles. The permissions of this user will be a merger of all the permissions of all assigned roles.
Last modified:
May 28, 2019
Post your comment on this topic.