fix 按设备维度控制role分配

This commit is contained in:
2024-06-14 12:25:16 +08:00
parent a545f46d27
commit 3d6bb69f11

View File

@@ -45,5 +45,9 @@ public class DevicePermissionsAssignToDeviceRequest : IValidatableObject
yield return new ValidationResult("请明确具体的厂区", new[] { nameof(TenantId) });
}
}
else if (AssignType == AssignTypeEnumType.Role)
{
yield return new ValidationResult("暂不支持角色分配", new[] { nameof(AssignType) });
}
}
}