aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Models/Identity/Role/CreateRoleServiceModel.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-01-23 16:01:05 +0200
committertranstrike <transtrike@gmail.com>2021-01-23 16:01:05 +0200
commit1f8d51c5393ea2f413de4f3e05f77d360d096ff3 (patch)
tree529dd85dfcae02a38ff6525c75c17db49f64bd91 /src/DevHive.Services/Models/Identity/Role/CreateRoleServiceModel.cs
parentdf06bc309d44db352441f42de7d34794a6ee54ba (diff)
downloadDevHive-1f8d51c5393ea2f413de4f3e05f77d360d096ff3.tar
DevHive-1f8d51c5393ea2f413de4f3e05f77d360d096ff3.tar.gz
DevHive-1f8d51c5393ea2f413de4f3e05f77d360d096ff3.zip
The beginning of role based authorization
Diffstat (limited to 'src/DevHive.Services/Models/Identity/Role/CreateRoleServiceModel.cs')
-rw-r--r--src/DevHive.Services/Models/Identity/Role/CreateRoleServiceModel.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/DevHive.Services/Models/Identity/Role/CreateRoleServiceModel.cs b/src/DevHive.Services/Models/Identity/Role/CreateRoleServiceModel.cs
index 53bea9e..3bed3fd 100644
--- a/src/DevHive.Services/Models/Identity/Role/CreateRoleServiceModel.cs
+++ b/src/DevHive.Services/Models/Identity/Role/CreateRoleServiceModel.cs
@@ -5,10 +5,6 @@ namespace DevHive.Services.Models.Identity.Role
{
public class CreateRoleServiceModel
{
- [NotNull]
- [Required]
- [MinLength(3)]
- [MaxLength(50)]
public string Name { get; set; }
}
}