Skip to content
This repository was archived by the owner on Dec 20, 2018. It is now read-only.
This repository was archived by the owner on Dec 20, 2018. It is now read-only.

Unique role names #944

@cjcfreitas

Description

@cjcfreitas

Role names must be unique.
This is enforced by RoleValidator.
Shouldn't this be also enforced in the EntityFramework model?
File IdentityDbContext.cs line 170 would be:
b.HasIndex(r => r.NormalizedName).HasName("RoleNameIndex").IsUnique();

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions