diff --git a/src/Api/AdminConsole/Models/Request/GroupRequestModel.cs b/src/Api/AdminConsole/Models/Request/GroupRequestModel.cs index 97c344f95..d4043d7ea 100644 --- a/src/Api/AdminConsole/Models/Request/GroupRequestModel.cs +++ b/src/Api/AdminConsole/Models/Request/GroupRequestModel.cs @@ -9,7 +9,6 @@ public class GroupRequestModel [Required] [StringLength(100)] public string Name { get; set; } - [Required] public bool? AccessAll { get; set; } public IEnumerable Collections { get; set; } public IEnumerable Users { get; set; } @@ -25,7 +24,7 @@ public class GroupRequestModel public Group ToGroup(Group existingGroup) { existingGroup.Name = Name; - existingGroup.AccessAll = AccessAll.Value; + existingGroup.AccessAll = AccessAll ?? false; return existingGroup; } }