diff --git a/Disco.Data/Disco.Data.csproj b/Disco.Data/Disco.Data.csproj index a0f8ccc1..0c01b0db 100644 --- a/Disco.Data/Disco.Data.csproj +++ b/Disco.Data/Disco.Data.csproj @@ -205,6 +205,10 @@ 202509070209304_DBv29.cs + + + 202509180416385_DBv30.cs + @@ -307,6 +311,9 @@ 202509070209304_DBv29.cs + + 202509180416385_DBv30.cs + ResXFileCodeGenerator Resources.Designer.cs diff --git a/Disco.Data/Migrations/202509180416385_DBv30.Designer.cs b/Disco.Data/Migrations/202509180416385_DBv30.Designer.cs new file mode 100644 index 00000000..e3c5bed8 --- /dev/null +++ b/Disco.Data/Migrations/202509180416385_DBv30.Designer.cs @@ -0,0 +1,27 @@ +// +namespace Disco.Data.Migrations +{ + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + public sealed partial class DBv30 : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(DBv30)); + + string IMigrationMetadata.Id + { + get { return "202509180416385_DBv30"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/Disco.Data/Migrations/202509180416385_DBv30.cs b/Disco.Data/Migrations/202509180416385_DBv30.cs new file mode 100644 index 00000000..3277c90f --- /dev/null +++ b/Disco.Data/Migrations/202509180416385_DBv30.cs @@ -0,0 +1,17 @@ +namespace Disco.Data.Migrations +{ + using System.Data.Entity.Migrations; + + public partial class DBv30 : DbMigration + { + public override void Up() + { + AddColumn("dbo.DeviceProfiles", "ProvisionFromOtherDomain", c => c.Boolean(nullable: false, defaultValue: false)); + } + + public override void Down() + { + DropColumn("dbo.DeviceProfiles", "ProvisionFromOtherDomain"); + } + } +} diff --git a/Disco.Data/Migrations/202509180416385_DBv30.resx b/Disco.Data/Migrations/202509180416385_DBv30.resx new file mode 100644 index 00000000..cbc523ac --- /dev/null +++ b/Disco.Data/Migrations/202509180416385_DBv30.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + H4sIAAAAAAAEAO1925Ict47g+0bsPyj6aXciRi3JsiyfkGdCbkl2ayS1TrdsP3akqtjdOc7KLGdmyerza/uwn7S/sGReeQF4S+alSvVwfNRFEARAJAiSIPD//s//ffGfXzfJgy8kL+Is/enk8cNHJw9IusrWcXr708muvPn35yf/+R//83+8eL3efH3wewv3HYOjPdPip5O7stz+4/S0WN2RTVQ83MSrPCuym/LhKtucRuvs9MmjRz+ePn58SiiKE4rrwYMXl7u0jDek+oP+eZalK7Itd1HyPluTpGh+py1XFdYHH6INKbbRivx08iouVtnDV1EZPbwk26yIyyy/P3nwMokjSswVSW5OHmyf/uO3glyVeZbeXm2jMo6ST/dbQttvoqQgDen/2D61pf7RE0b9aZSmWUnRZakX9ycdX5Sz11QC5T0jq+LupxMqhJv4dpdX+M9LIoDTDv9F7oUf6E8f82xL8vL+ktw0SK5W9JeTB6dmSIpOhntxKo/R9RPRM6rpH2VOteTkwZv4K1m/I+ltedcJ+H30tf3lOVWV39KY6hTtU+Y72vphlyTR54R04KfaUStSJx7z9yjZuXJK/6kZtv6bH/XFaa8EWtV4la12G5KWn8hmm0Ql8dGM87X7dLM+ThL4brDcX5Filcfb+htzGvvJ94MH91HvZ0MHfRMnJclff93mpCjc2XZVOpWAi/QXkhJqd8isRJxvtllevizLaHXHlH0BxNBFJH+TRLeXu4QUk1NBRy5Lkr7J8k079s9ZlpAo9fiqvsQrUryL0z/J+pc8220n54bJclYCzotf4/WapM6y/BB9iW+rVVnC+Db7fLX7XHkWJw8uSVLBFHfxtvZDHspm+1ro8CbPNpdZAph3Hu76Kt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Sbc3vLPJwK0wIQuyshVA4aHGyHSUJrHEYlWNeyqJ4TVj8nF0lkcPJu+bnWwzMEPmz/3LBA6PIjUNFCjCg9XLYteY2nYAkRmkSwckplrjvGxjgyMmW9AnNOJUKN2rhmwQ+rdhGJjKbQZxi4Lctf24rTON9T8QP8sszy6bbLaVr++OL1kcSIbUv/1ilSvXlsULyjOlFQZvHukLcx5epO1qaAlilqQtrmZSHZBu47K6CU7XYlWJW1eEerup7cnD36Pkh0Feb35TNbn6cWu3O5KyjLZfE6Em1yWRFo3/otTheYXF1v2VxGCBUpmTFkgF+nPuzhZd3S/iZJCmjQMBctO/Quhv9dzWdL/J7f3HaYP1AbZIWrE1yXV7hJIXaRX0ReC02aWoSixF6/i6DaPNkWDo+9P/6Tqt958/Y//D6biVHsc6AMA + + \ No newline at end of file diff --git a/Disco.Models/Repository/Device/DeviceProfile.cs b/Disco.Models/Repository/Device/DeviceProfile.cs index cc8d1bef..d163df34 100644 --- a/Disco.Models/Repository/Device/DeviceProfile.cs +++ b/Disco.Models/Repository/Device/DeviceProfile.cs @@ -36,7 +36,7 @@ namespace Disco.Models.Repository // 2012-06-28 G# public bool ProvisionADAccount { get; set; } - + public bool ProvisionFromOtherDomain { get; set; } public bool AssignedUserLocalAdmin { get; set; } public bool SetAssignedUserForLogon { get; set; } diff --git a/Disco.Services/Devices/Enrolment/WindowsDeviceEnrolment.cs b/Disco.Services/Devices/Enrolment/WindowsDeviceEnrolment.cs index 8127fdfc..e1d0097e 100644 --- a/Disco.Services/Devices/Enrolment/WindowsDeviceEnrolment.cs +++ b/Disco.Services/Devices/Enrolment/WindowsDeviceEnrolment.cs @@ -226,40 +226,46 @@ namespace Disco.Services.Devices.Enrolment throw; } } + + int deviceProfileId; + if (response.DeviceProfileId.HasValue) + deviceProfileId = response.DeviceProfileId.Value; + else if (device != null) + deviceProfileId = device.DeviceProfileId; + else + deviceProfileId = Database.DiscoConfiguration.DeviceProfiles.DefaultDeviceProfileId; + var deviceProfile = Database.DeviceProfiles.Find(deviceProfileId) + ?? throw new InvalidOperationException($"Device profile {deviceProfileId} was not found, please check your default profile configuration"); + if (Request.IsPartOfDomain && !string.IsNullOrWhiteSpace(Request.ComputerName)) { - EnrolmentLog.LogSessionProgress(sessionId, 20, "Loading Active Directory Computer Account"); - Guid? uuidGuid = null; - Guid? macAddressGuid = null; - if (!string.IsNullOrEmpty(Request.Hardware.UUID)) - uuidGuid = ADMachineAccount.NetbootGUIDFromUUID(Request.Hardware.UUID); + if (ActiveDirectory.Context.TryGetDomainByName(Request.DNSDomainName, out domain)) + { + EnrolmentLog.LogSessionProgress(sessionId, 20, "Loading Active Directory Computer Account"); + Guid? uuidGuid = null; + Guid? macAddressGuid = null; + if (!string.IsNullOrEmpty(Request.Hardware.UUID)) + uuidGuid = ADMachineAccount.NetbootGUIDFromUUID(Request.Hardware.UUID); - // Use non-Wlan Adapter with fastest speed - var macAddress = Request.Hardware?.NetworkAdapters?.Where(na => !na.IsWlanAdapter).OrderByDescending(na => na.Speed).Select(na => na.MACAddress).FirstOrDefault(); - if (!string.IsNullOrEmpty(macAddress)) - macAddressGuid = ADMachineAccount.NetbootGUIDFromMACAddress(macAddress); + // Use non-Wlan Adapter with fastest speed + var macAddress = Request.Hardware?.NetworkAdapters?.Where(na => !na.IsWlanAdapter).OrderByDescending(na => na.Speed).Select(na => na.MACAddress).FirstOrDefault(); + if (!string.IsNullOrEmpty(macAddress)) + macAddressGuid = ADMachineAccount.NetbootGUIDFromMACAddress(macAddress); - if (domain == null) - domain = ActiveDirectory.Context.GetDomainByName(Request.DNSDomainName); + var requestDeviceId = $@"{domain.NetBiosName}\{Request.ComputerName}"; - var requestDeviceId = $@"{domain.NetBiosName}\{Request.ComputerName}"; - - adMachineAccount = domainController.Value.RetrieveADMachineAccount(requestDeviceId, uuidGuid, macAddressGuid); + adMachineAccount = domainController.Value.RetrieveADMachineAccount(requestDeviceId, uuidGuid, macAddressGuid); + } + else if (!deviceProfile.ProvisionFromOtherDomain) + { + throw new EnrolmentSafeException($"The specified domain name '{Request.DNSDomainName}' is not recognized or reachable."); + } } if (device == null) { EnrolmentLog.LogSessionProgress(sessionId, 30, "New Device, Creating Disco Instance"); EnrolmentLog.LogSessionTaskAddedDevice(sessionId, Request.SerialNumber); - int deviceProfileId; - if (response.DeviceProfileId.HasValue) - deviceProfileId = response.DeviceProfileId.Value; - else - deviceProfileId = Database.DiscoConfiguration.DeviceProfiles.DefaultDeviceProfileId; - - var deviceProfile = Database.DeviceProfiles.Find(deviceProfileId) - ?? throw new InvalidOperationException($"Device profile {deviceProfileId} was not found, please check your default profile configuration"); - var deviceBatch = default(DeviceBatch); if (response.DeviceBatchId.HasValue) deviceBatch = Database.DeviceBatches.Find(response.DeviceBatchId.Value); @@ -300,14 +306,10 @@ namespace Disco.Services.Devices.Enrolment device.DeviceModel = deviceModel; - if (response.DeviceProfileId.HasValue && device.DeviceProfile.Id != response.DeviceProfileId.Value) + if (device.DeviceProfile.Id != deviceProfileId) { - var deviceProfile = Database.DeviceProfiles.Find(response.DeviceProfileId.Value); - if (deviceProfile != null) - { - device.DeviceProfile = deviceProfile; - device.DeviceProfileId = deviceProfile.Id; - } + device.DeviceProfile = deviceProfile; + device.DeviceProfileId = deviceProfile.Id; } if (response.DeviceBatchId.HasValue && device.DeviceBatch?.Id != response.DeviceBatchId.Value) diff --git a/Disco.Web/Areas/API/Controllers/DeviceProfileController.cs b/Disco.Web/Areas/API/Controllers/DeviceProfileController.cs index 116caaa3..44e2e882 100644 --- a/Disco.Web/Areas/API/Controllers/DeviceProfileController.cs +++ b/Disco.Web/Areas/API/Controllers/DeviceProfileController.cs @@ -34,6 +34,7 @@ namespace Disco.Web.Areas.API.Controllers private const string pEnforceComputerNameConvention = "enforcecomputernameconvention"; private const string pEnforceOrganisationalUnit = "enforceorganisationalunit"; private const string pProvisionADAccount = "provisionadaccount"; + private const string pProvisionFromOtherDomain = "provisionfromotherdomain"; private const string pAssignedUserLocalAdmin = "assigneduserlocaladmin"; private const string pSetAssignedUserForLogon = "setassigneduserforlogon"; private const string pAllowUntrustedReimageJobEnrolment = "allowuntrustedreimagejobrnrolment"; @@ -93,6 +94,9 @@ namespace Disco.Web.Areas.API.Controllers case pProvisionADAccount: UpdateProvisionADAccount(deviceProfile, value); break; + case pProvisionFromOtherDomain: + UpdateProvisionFromOtherDomain(deviceProfile, value); + break; case pAssignedUserLocalAdmin: UpdateAssignedUserLocalAdmin(deviceProfile, value); break; @@ -351,6 +355,13 @@ namespace Disco.Web.Areas.API.Controllers return Update(id, pProvisionADAccount, ProvisionADAccount, redirect); } + [DiscoAuthorize(Claims.Config.DeviceProfile.Configure)] + [HttpPost, ValidateAntiForgeryToken] + public virtual ActionResult UpdateProvisionFromOtherDomain(int id, string ProvisionFromOtherDomain = null, bool? redirect = null) + { + return Update(id, pProvisionFromOtherDomain, ProvisionFromOtherDomain, redirect); + } + [DiscoAuthorize(Claims.Config.DeviceProfile.Configure)] [HttpPost, ValidateAntiForgeryToken] public virtual ActionResult UpdateSetAssignedUserForLogon(int id, string setAssignedUserForLogon = null, bool? redirect = null) @@ -666,6 +677,18 @@ namespace Disco.Web.Areas.API.Controllers throw new Exception("Invalid Boolean Value"); } + private void UpdateProvisionFromOtherDomain(DeviceProfile deviceProfile, string provisionFromOtherDomain) + { + if (bool.TryParse(provisionFromOtherDomain, out var bValue)) + { + deviceProfile.ProvisionFromOtherDomain = bValue; + + Database.SaveChanges(); + return; + } + throw new Exception("Invalid Boolean Value"); + } + private void UpdateAssignedUserLocalAdmin(DeviceProfile deviceProfile, string assignedUserLocalAdmin) { if (bool.TryParse(assignedUserLocalAdmin, out var bValue)) diff --git a/Disco.Web/Areas/Config/Views/DeviceProfile/Show.cshtml b/Disco.Web/Areas/Config/Views/DeviceProfile/Show.cshtml index c487aa27..ddd812ab 100644 --- a/Disco.Web/Areas/Config/Views/DeviceProfile/Show.cshtml +++ b/Disco.Web/Areas/Config/Views/DeviceProfile/Show.cshtml @@ -229,6 +229,35 @@

+
+ @if (canConfig) + { + + + } + else + { + + } + + @AjaxHelpers.AjaxLoader() +
+

+ When enabled, devices joined to another domain will be enrolled. Based on other policies this may change the domain they are bound to (eg. Provision Active Directory Account) +

+
+
@if (canConfig) { diff --git a/Disco.Web/Areas/Config/Views/DeviceProfile/Show.generated.cs b/Disco.Web/Areas/Config/Views/DeviceProfile/Show.generated.cs index a893f5ef..0717d88f 100644 --- a/Disco.Web/Areas/Config/Views/DeviceProfile/Show.generated.cs +++ b/Disco.Web/Areas/Config/Views/DeviceProfile/Show.generated.cs @@ -888,7 +888,7 @@ WriteLiteral(">\r\n"); #line hidden WriteLiteral("
+ + \r\n"); + + + #line 262 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + + + #line default + #line hidden + + #line 262 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + if (canConfig) + { + + + #line default + #line hidden +WriteLiteral(" '"); - #line 241 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 270 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.API.DeviceProfile.UpdateAssignedUserLocalAdmin(Model.DeviceProfile.Id))); @@ -926,7 +1049,7 @@ WriteLiteral("\',\r\n \'AssignedUserLocalAdmi "script>\r\n"); - #line 246 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 275 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else { @@ -943,7 +1066,7 @@ WriteLiteral(" type=\"checkbox\""); WriteLiteral(" "); - #line 249 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 278 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.AssignedUserLocalAdmin ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty)); @@ -952,7 +1075,7 @@ WriteLiteral(" "); WriteLiteral(" disabled=\"disabled\" />\r\n"); - #line 250 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 279 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -968,7 +1091,7 @@ WriteLiteral(">\r\n Assigned User is Local Administrator\ WriteLiteral(" "); - #line 254 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 283 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader()); @@ -996,13 +1119,13 @@ WriteLiteral(" style=\"margin-top: 8px;\""); WriteLiteral(">\r\n"); - #line 262 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 291 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 262 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 291 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig) { @@ -1018,7 +1141,7 @@ WriteLiteral(" type=\"checkbox\""); WriteLiteral(" "); - #line 264 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 293 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.SetAssignedUserForLogon ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty)); @@ -1038,7 +1161,7 @@ WriteLiteral(@"> '"); - #line 270 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 299 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.API.DeviceProfile.UpdateSetAssignedUserForLogon(Model.DeviceProfile.Id))); @@ -1048,7 +1171,7 @@ WriteLiteral("\',\r\n \'setAssignedUserForLogon\' " );\r\n });\r\n \r\n"); - #line 275 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 304 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else { @@ -1065,7 +1188,7 @@ WriteLiteral(" type=\"checkbox\""); WriteLiteral(" "); - #line 278 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 307 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.SetAssignedUserForLogon ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty)); @@ -1074,7 +1197,7 @@ WriteLiteral(" "); WriteLiteral(" disabled=\"disabled\" />\r\n"); - #line 279 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 308 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -1090,7 +1213,7 @@ WriteLiteral(">\r\n Set Assigned User for Logon\r\n WriteLiteral(" "); - #line 283 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 312 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader()); @@ -1117,13 +1240,13 @@ WriteLiteral(" style=\"margin-top: 8px;\""); WriteLiteral(">\r\n"); - #line 291 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 320 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 291 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 320 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig) { @@ -1139,7 +1262,7 @@ WriteLiteral(" type=\"checkbox\""); WriteLiteral(" "); - #line 293 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 322 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.AllowUntrustedReimageJobEnrolment ? new MvcHtmlString("checked=\"checked\" ") : null); @@ -1159,7 +1282,7 @@ WriteLiteral(@"> '"); - #line 299 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 328 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.API.DeviceProfile.UpdateAllowUntrustedReimageJobEnrolment(Model.DeviceProfile.Id))); @@ -1170,7 +1293,7 @@ WriteLiteral("\',\r\n \'AllowUntrustedReimage " \r\n"); - #line 304 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 333 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else { @@ -1187,7 +1310,7 @@ WriteLiteral(" type=\"checkbox\""); WriteLiteral(" "); - #line 307 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 336 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.AllowUntrustedReimageJobEnrolment ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty)); @@ -1196,7 +1319,7 @@ WriteLiteral(" "); WriteLiteral(" disabled=\"disabled\" />\r\n"); - #line 308 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 337 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -1215,7 +1338,7 @@ WriteLiteral(">\'Software - Reimage\' Job is Open\r\n WriteLiteral(" "); - #line 312 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 341 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader()); @@ -1254,13 +1377,13 @@ WriteLiteral(" class=\"code\""); WriteLiteral(">\r\n"); - #line 328 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 357 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 328 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 357 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (string.IsNullOrWhiteSpace(Model.DeviceProfile.ComputerNameTemplate)) { @@ -1274,7 +1397,7 @@ WriteLiteral(" class=\"smallMessage\""); WriteLiteral("><None Specified>\r\n"); - #line 331 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 360 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else { @@ -1283,14 +1406,14 @@ WriteLiteral("><None Specified>\r\n"); #line default #line hidden - #line 334 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 363 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.ComputerNameTemplate); #line default #line hidden - #line 334 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 363 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -1300,13 +1423,13 @@ WriteLiteral("><None Specified>\r\n"); WriteLiteral(" \r\n"); - #line 337 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 366 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 337 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 366 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig && canConfigExpression) { @@ -1324,20 +1447,20 @@ WriteLiteral(" class=\"button small\""); WriteLiteral(">Change"); - #line 339 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 368 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 339 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 368 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader()); #line default #line hidden - #line 339 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 368 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" @@ -1354,13 +1477,13 @@ WriteLiteral(" class=\"dialog\""); WriteLiteral(">\r\n"); - #line 341 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 370 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 341 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 370 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" using (Html.BeginForm(MVC.API.DeviceProfile.UpdateComputerNameTemplate(Model.DeviceProfile.Id, null, false))) { @@ -1368,28 +1491,28 @@ WriteLiteral(">\r\n"); #line default #line hidden - #line 343 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 372 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.AntiForgeryToken()); #line default #line hidden - #line 343 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 372 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 344 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 373 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.TextArea("ComputerNameTemplate", Model.DeviceProfile.ComputerNameTemplate, new { spellcheck = "false", required = "required" })); #line default #line hidden - #line 344 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 373 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -1407,13 +1530,13 @@ WriteLiteral(" class=\"test hidden\""); WriteLiteral(">\r\n"); - #line 349 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 378 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 349 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 378 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" using (Html.BeginForm(MVC.API.DeviceProfile.TestComputerNameTemplate(Model.DeviceProfile.Id))) { @@ -1421,14 +1544,14 @@ WriteLiteral(">\r\n"); #line default #line hidden - #line 351 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 380 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.AntiForgeryToken()); #line default #line hidden - #line 351 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 380 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" ; @@ -1471,7 +1594,7 @@ WriteLiteral(@" /> "); - #line 370 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 399 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -1488,7 +1611,7 @@ WriteLiteral(" type=\"button\""); WriteLiteral(">Test Template"); - #line 372 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 401 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader()); @@ -1529,7 +1652,7 @@ WriteLiteral(@"> window.open('"); - #line 400 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 429 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.Config.Expressions.Browser())); @@ -1660,7 +1783,7 @@ WriteLiteral("\', \'_blank\');\r\n }, "{\r\n source: \'"); - #line 524 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 553 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.API.Search.Devices())); @@ -1693,7 +1816,7 @@ WriteLiteral(@"', "); - #line 548 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 577 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -1706,13 +1829,13 @@ WriteLiteral(" style=\"margin-top: 8px;\""); WriteLiteral(">\r\n"); - #line 550 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 579 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 550 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 579 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig) { @@ -1728,7 +1851,7 @@ WriteLiteral(" type=\"checkbox\""); WriteLiteral(" "); - #line 552 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 581 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.EnforceComputerNameConvention ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty)); @@ -1748,7 +1871,7 @@ WriteLiteral(@"> '"); - #line 558 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 587 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.API.DeviceProfile.UpdateEnforceComputerNameConvention(Model.DeviceProfile.Id))); @@ -1759,7 +1882,7 @@ WriteLiteral("\',\r\n \'EnforceComputerNameCo " \r\n"); - #line 563 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 592 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else { @@ -1776,7 +1899,7 @@ WriteLiteral(" type=\"checkbox\""); WriteLiteral(" "); - #line 566 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 595 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.EnforceComputerNameConvention ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty)); @@ -1785,7 +1908,7 @@ WriteLiteral(" "); WriteLiteral(" disabled=\"disabled\" />\r\n"); - #line 567 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 596 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -1801,7 +1924,7 @@ WriteLiteral(">\r\n Enforce Naming Convention\r\n WriteLiteral(" "); - #line 571 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 600 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader()); @@ -1833,13 +1956,13 @@ WriteLiteral(@">Computer names are only changed when Active Directory accoun "); - #line 586 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 615 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 586 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 615 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig) { @@ -1855,7 +1978,7 @@ WriteLiteral(" class=\"code\""); WriteLiteral(" data-value=\""); - #line 588 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 617 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.OrganisationalUnit); @@ -1868,7 +1991,7 @@ WriteLiteral(">\r\n \r\n"); WriteLiteral(" "); - #line 590 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 619 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.FriendlyOrganisationalUnitName); @@ -1887,20 +2010,20 @@ WriteLiteral(" class=\"button small\""); WriteLiteral(">Change"); - #line 593 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 622 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 593 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 622 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader()); #line default #line hidden - #line 593 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 622 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" @@ -1917,7 +2040,7 @@ WriteLiteral(" class=\"dialog\""); WriteLiteral(" data-url=\""); - #line 594 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 623 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.API.System.DomainOrganisationalUnits())); @@ -1934,7 +2057,7 @@ WriteLiteral(">\r\n"); WriteLiteral(" "); - #line 596 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 625 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader()); @@ -1950,13 +2073,13 @@ WriteLiteral(" class=\"organisationalUnitTree\""); WriteLiteral(">\r\n \r\n"); - #line 600 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 629 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 600 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 629 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" using (Html.BeginForm(MVC.API.DeviceProfile.UpdateOrganisationalUnit(Model.DeviceProfile.Id, redirect: true))) { @@ -1964,14 +2087,14 @@ WriteLiteral(">\r\n \r\n"); #line default #line hidden - #line 602 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 631 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.AntiForgeryToken()); #line default #line hidden - #line 602 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 631 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" ; @@ -2007,7 +2130,7 @@ WriteLiteral(">Move all profile devices to this organisational unit\r\n " \r\n"); - #line 607 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 636 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2103,7 +2226,7 @@ WriteLiteral(">\r\n $(function () {\r\n " \r\n"); - #line 723 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 752 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else { @@ -2122,7 +2245,7 @@ WriteLiteral(">\r\n \r\n"); WriteLiteral(" "); - #line 728 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 757 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.FriendlyOrganisationalUnitName); @@ -2131,7 +2254,7 @@ WriteLiteral(" "); WriteLiteral("\r\n \r\n \r\n"); - #line 731 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 760 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2140,7 +2263,7 @@ WriteLiteral("\r\n \r\n \ WriteLiteral(" "); - #line 732 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 761 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (!Model.OrganisationalUnitExists) { @@ -2163,7 +2286,7 @@ WriteLiteral(">The Organisational Unit could not be found.\r\n " \r\n"); - #line 739 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 768 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2176,13 +2299,13 @@ WriteLiteral(" style=\"margin-top: 8px;\""); WriteLiteral(">\r\n"); - #line 741 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 770 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 741 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 770 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig) { @@ -2198,7 +2321,7 @@ WriteLiteral(" type=\"checkbox\""); WriteLiteral(" "); - #line 743 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 772 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.EnforceOrganisationalUnit ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty)); @@ -2218,7 +2341,7 @@ WriteLiteral(@"> '"); - #line 749 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 778 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.API.DeviceProfile.UpdateEnforceOrganisationalUnit(Model.DeviceProfile.Id))); @@ -2229,7 +2352,7 @@ WriteLiteral("\',\r\n \'EnforceOrganisational " \r\n"); - #line 754 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 783 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else { @@ -2246,7 +2369,7 @@ WriteLiteral(" type=\"checkbox\""); WriteLiteral(" "); - #line 757 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 786 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Model.DeviceProfile.EnforceOrganisationalUnit ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty)); @@ -2255,7 +2378,7 @@ WriteLiteral(" "); WriteLiteral(" disabled=\"disabled\" />\r\n"); - #line 758 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 787 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2271,7 +2394,7 @@ WriteLiteral(">\r\n Enforce Organisational Unit\r\n WriteLiteral(" "); - #line 762 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 791 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader()); @@ -2302,13 +2425,13 @@ WriteLiteral(@">When an Active Directory account is provisioned it will be p "); - #line 776 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 805 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 776 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 805 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig && (Model.CertificateProviders.Count > 0 || Model.CertificateAuthorityProviders.Count > 0)) { @@ -2318,20 +2441,20 @@ WriteLiteral(@">When an Active Directory account is provisioned it will be p WriteLiteral("
\r\n"); - #line 779 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 808 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 779 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 808 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader("DeviceProfile_CertificateProviders")); #line default #line hidden - #line 779 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 808 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2341,7 +2464,7 @@ WriteLiteral("
\r\n"); WriteLiteral(" "); - #line 781 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 810 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig && Model.CertificateProviders.Count > 0) { @@ -2366,7 +2489,7 @@ WriteLiteral(@"> fetch('"); - #line 794 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 823 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.API.DeviceProfile.UpdateCertificateProviders(Model.DeviceProfile.Id))); @@ -2392,7 +2515,7 @@ WriteLiteral(@"', { "); - #line 811 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 840 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2401,7 +2524,7 @@ WriteLiteral(@"', { WriteLiteral(" "); - #line 812 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 841 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig && Model.CertificateProviders.Count > 0) { @@ -2426,7 +2549,7 @@ WriteLiteral(@"> fetch('"); - #line 825 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 854 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.API.DeviceProfile.UpdateCertificateAuthorityProviders(Model.DeviceProfile.Id))); @@ -2452,7 +2575,7 @@ WriteLiteral(@"', { "); - #line 842 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 871 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2462,13 +2585,13 @@ WriteLiteral(" \r\n \r\n

Devic "tes

\r\n"); - #line 846 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 875 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 846 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 875 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig && Model.CertificateProviders.Count > 0) { @@ -2476,14 +2599,14 @@ WriteLiteral(" \r\n \r\n

Devic #line default #line hidden - #line 848 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 877 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(CommonHelpers.CheckBoxList("DeviceProfile_CertificateProviders", "DeviceProfile_CertificateProviders", Model.CertificateProviders.ToSelectListItems(Model.DeviceProfile.GetCertificateProviders()))); #line default #line hidden - #line 848 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 877 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else @@ -2503,7 +2626,7 @@ WriteLiteral(" class=\"smallMessage\""); WriteLiteral("><None Allocated>\r\n"); - #line 857 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 886 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else { @@ -2514,13 +2637,13 @@ WriteLiteral("><None Allocated>\r\n"); WriteLiteral("
    \r\n"); - #line 861 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 890 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 861 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 890 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" foreach (var certificateProvider in certificateProviders) { @@ -2530,7 +2653,7 @@ WriteLiteral("
      \r\n"); WriteLiteral("
    • "); - #line 863 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 892 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(certificateProvider.Name); @@ -2539,7 +2662,7 @@ WriteLiteral("
    • "); WriteLiteral("
    • \r\n"); - #line 864 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 893 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2548,7 +2671,7 @@ WriteLiteral("\r\n"); WriteLiteral("
    \r\n"); - #line 866 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 895 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } } @@ -2562,13 +2685,13 @@ WriteLiteral(" style=\"margin-top: 4px;\""); WriteLiteral(">Authority Certificates

\r\n"); - #line 869 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 898 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 869 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 898 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig && Model.CertificateAuthorityProviders.Count > 0) { @@ -2576,14 +2699,14 @@ WriteLiteral(">Authority Certificates\r\n"); #line default #line hidden - #line 871 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 900 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(CommonHelpers.CheckBoxList("DeviceProfile_CertificateAuthorityProviders", "DeviceProfile_CertificateAuthorityProviders", Model.CertificateAuthorityProviders.ToSelectListItems(Model.DeviceProfile.GetCertificateAuthorityProviders()))); #line default #line hidden - #line 871 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 900 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else @@ -2603,7 +2726,7 @@ WriteLiteral(" class=\"smallMessage\""); WriteLiteral("><None Allocated>\r\n"); - #line 880 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 909 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else { @@ -2614,13 +2737,13 @@ WriteLiteral("><None Allocated>\r\n"); WriteLiteral("
    \r\n"); - #line 884 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 913 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 884 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 913 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" foreach (var certificateProvider in certificateProviders) { @@ -2630,7 +2753,7 @@ WriteLiteral("
      \r\n"); WriteLiteral("
    • "); - #line 886 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 915 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(certificateProvider.Name); @@ -2639,7 +2762,7 @@ WriteLiteral("
    • "); WriteLiteral("
    • \r\n"); - #line 887 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 916 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2648,7 +2771,7 @@ WriteLiteral("\r\n"); WriteLiteral("
    \r\n"); - #line 889 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 918 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } } @@ -2658,7 +2781,7 @@ WriteLiteral("
\r\n"); WriteLiteral(" "); - #line 891 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 920 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canViewPlugins) { @@ -2679,21 +2802,21 @@ WriteLiteral(" class=\"fa fa-info-circle\""); WriteLiteral(">View the (Url.Action(MVC.Config.Plugins.Install()) + #line 924 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" +, Tuple.Create(Tuple.Create("", 53303), Tuple.Create(Url.Action(MVC.Config.Plugins.Install()) #line default #line hidden -, 51454), false) +, 53303), false) ); WriteLiteral(">Plugin Catalogue to discover and install certificate provider plugins.\r\n " + "

\r\n \r\n"); - #line 898 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 927 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2703,13 +2826,13 @@ WriteLiteral(" \r\n \r\n \r\n " Provision Wireless Profiles:\r\n"); - #line 904 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 933 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 904 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 933 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig && Model.WirelessProfileProviders.Count > 0) { @@ -2719,20 +2842,20 @@ WriteLiteral(" \r\n \r\n \r\n WriteLiteral("
\r\n"); - #line 907 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 936 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 907 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 936 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(AjaxHelpers.AjaxLoader("DeviceProfile_WirelessProfileProviders")); #line default #line hidden - #line 907 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 936 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" @@ -2756,7 +2879,7 @@ WriteLiteral(@"> fetch('"); - #line 919 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 948 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Url.Action(MVC.API.DeviceProfile.UpdateWirelessProfileProviders(Model.DeviceProfile.Id))); @@ -2782,7 +2905,7 @@ WriteLiteral(@"', { "); - #line 936 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 965 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2791,13 +2914,13 @@ WriteLiteral(@"', { WriteLiteral(" \r\n \r\n"); - #line 939 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 968 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 939 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 968 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig && Model.WirelessProfileProviders.Count > 0) { @@ -2805,14 +2928,14 @@ WriteLiteral(" \r\n \r\n"); #line default #line hidden - #line 941 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 970 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(CommonHelpers.CheckBoxList("DeviceProfile_WirelessProfileProviders", "DeviceProfile_WirelessProfileProviders", Model.WirelessProfileProviders.ToSelectListItems(Model.DeviceProfile.GetWirelessProfileProviders()))); #line default #line hidden - #line 941 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 970 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else @@ -2832,7 +2955,7 @@ WriteLiteral(" class=\"smallMessage\""); WriteLiteral("><None Allocated>\r\n"); - #line 950 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 979 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } else { @@ -2843,13 +2966,13 @@ WriteLiteral("><None Allocated>\r\n"); WriteLiteral("
    \r\n"); - #line 954 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 983 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 954 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 983 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" foreach (var wirelessProfileProvider in wirelessProfileProviders) { @@ -2859,7 +2982,7 @@ WriteLiteral("
      \r\n"); WriteLiteral("
    • "); - #line 956 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 985 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(wirelessProfileProvider.Name); @@ -2868,7 +2991,7 @@ WriteLiteral("
    • "); WriteLiteral("
    • \r\n"); - #line 957 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 986 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2877,7 +3000,7 @@ WriteLiteral("\r\n"); WriteLiteral("
    \r\n"); - #line 959 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 988 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } } @@ -2887,7 +3010,7 @@ WriteLiteral("
\r\n"); WriteLiteral(" "); - #line 961 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 990 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canViewPlugins) { @@ -2908,21 +3031,21 @@ WriteLiteral(" class=\"fa fa-info-circle\""); WriteLiteral(">View the (Url.Action(MVC.Config.Plugins.Install()) + #line 994 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" +, Tuple.Create(Tuple.Create("", 56961), Tuple.Create(Url.Action(MVC.Config.Plugins.Install()) #line default #line hidden -, 55112), false) +, 56961), false) ); WriteLiteral(">Plugin Catalogue to discover and install wireless profile provider plugins.\r" + "\n

\r\n \r\n"); - #line 968 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 997 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2931,13 +3054,13 @@ WriteLiteral(">Plugin Catalogue to discover and install wireless profile pro WriteLiteral(" \r\n \r\n"); - #line 971 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1000 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 971 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1000 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (hideAdvanced) { @@ -2971,7 +3094,7 @@ WriteLiteral(@">Show Advanced Options "); - #line 987 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1016 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -2987,7 +3110,7 @@ WriteLiteral(">\r\n \r\n Linked Groups:\r\n WriteLiteral(" "); - #line 994 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1023 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.Partial(MVC.Config.Shared.Views.LinkedGroupInstance, new LinkedGroupModel() { CanConfigure = canConfig, @@ -3005,7 +3128,7 @@ WriteLiteral("\r\n"); WriteLiteral(" "); - #line 1002 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1031 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.Partial(MVC.Config.Shared.Views.LinkedGroupInstance, new LinkedGroupModel() { CanConfigure = canConfig, @@ -3021,13 +3144,13 @@ WriteLiteral(" "); WriteLiteral("\r\n"); - #line 1010 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1039 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 1010 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1039 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canConfig) { @@ -3035,14 +3158,14 @@ WriteLiteral("\r\n"); #line default #line hidden - #line 1012 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1041 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.Partial(MVC.Config.Shared.Views.LinkedGroupShared)); #line default #line hidden - #line 1012 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1041 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -3052,7 +3175,7 @@ WriteLiteral("\r\n"); WriteLiteral(" \r\n \r\n \r\n \r\n\r\n"); - #line 1019 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1048 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.Partial(MVC.Config.Shared.Views._DeviceGroupDocumentBulkGenerate, Model)); @@ -3065,13 +3188,13 @@ WriteLiteral(" class=\"actionBar\""); WriteLiteral(">\r\n"); - #line 1021 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1050 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 1021 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1050 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (Model.CanDecommission) { @@ -3097,13 +3220,13 @@ WriteLiteral(" title=\"Profile Device Decommission\""); WriteLiteral(">\r\n"); - #line 1025 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1054 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 1025 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1054 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" using (Html.BeginForm(MVC.API.Device.DeviceProfileDecommission(Model.DeviceProfile.Id))) { @@ -3111,14 +3234,14 @@ WriteLiteral(">\r\n"); #line default #line hidden - #line 1027 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1056 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.AntiForgeryToken()); #line default #line hidden - #line 1027 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1056 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" @@ -3143,13 +3266,13 @@ WriteLiteral(" class=\"none\""); WriteLiteral(">\r\n"); - #line 1033 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1062 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 1033 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1062 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" foreach (DecommissionReasons decommissionReason in Enum.GetValues(typeof(DecommissionReasons)).Cast().OrderBy(r => r.ToString())) { @@ -3160,33 +3283,33 @@ WriteLiteral("
  • \r\n WriteLiteral(" type=\"radio\""); -WriteAttribute("id", Tuple.Create(" id=\"", 58807), Tuple.Create("\"", 58879) -, Tuple.Create(Tuple.Create("", 58812), Tuple.Create("DeviceProfile_Decommission_Dialog_Reason_", 58812), true) +WriteAttribute("id", Tuple.Create(" id=\"", 60656), Tuple.Create("\"", 60728) +, Tuple.Create(Tuple.Create("", 60661), Tuple.Create("DeviceProfile_Decommission_Dialog_Reason_", 60661), true) - #line 1036 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" - , Tuple.Create(Tuple.Create("", 58853), Tuple.Create((int)decommissionReason + #line 1065 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + , Tuple.Create(Tuple.Create("", 60702), Tuple.Create((int)decommissionReason #line default #line hidden -, 58853), false) +, 60702), false) ); WriteLiteral("\r\n name=\"decommissionReason\""); -WriteAttribute("value", Tuple.Create(" value=\"", 58946), Tuple.Create("\"", 58980) +WriteAttribute("value", Tuple.Create(" value=\"", 60795), Tuple.Create("\"", 60829) - #line 1037 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" -, Tuple.Create(Tuple.Create("", 58954), Tuple.Create((int)decommissionReason + #line 1066 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" +, Tuple.Create(Tuple.Create("", 60803), Tuple.Create((int)decommissionReason #line default #line hidden -, 58954), false) +, 60803), false) ); WriteLiteral(" "); - #line 1037 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1066 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write((decommissionReason == DecommissionReasons.EndOfLife) ? "checked=\"checked\"" : string.Empty); @@ -3194,21 +3317,21 @@ WriteLiteral(" "); #line hidden WriteLiteral(" />\r\n ((int)decommissionReason + #line 1067 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + , Tuple.Create(Tuple.Create("", 61016), Tuple.Create((int)decommissionReason #line default #line hidden -, 59167), false) +, 61016), false) ); WriteLiteral(">"); - #line 1038 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1067 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(decommissionReason.ReasonMessage()); @@ -3217,7 +3340,7 @@ WriteLiteral(">"); WriteLiteral("\r\n
  • \r\n"); - #line 1040 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1069 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -3236,7 +3359,7 @@ WriteLiteral(" />\r\n Unassign devices users\r\n "\r\n \r\n"); - #line 1048 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1077 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -3280,7 +3403,7 @@ WriteLiteral(@"> "); - #line 1079 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1108 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -3289,7 +3412,7 @@ WriteLiteral(@"> WriteLiteral(" "); - #line 1080 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1109 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (canDelete) { @@ -3317,13 +3440,13 @@ WriteLiteral(" title=\"Delete this Device Profile?\""); WriteLiteral(">\r\n"); - #line 1084 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1113 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" #line default #line hidden - #line 1084 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1113 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" using (Html.BeginForm(MVC.API.DeviceProfile.Delete(Model.DeviceProfile.Id, true))) { @@ -3331,14 +3454,14 @@ WriteLiteral(">\r\n"); #line default #line hidden - #line 1086 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1115 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.AntiForgeryToken()); #line default #line hidden - #line 1086 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1115 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -3386,7 +3509,7 @@ WriteLiteral(@"> "); - #line 1120 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1149 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -3395,7 +3518,7 @@ WriteLiteral(@"> WriteLiteral(" "); - #line 1121 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1150 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (Authorization.Has(Claims.Device.Actions.Export)) { @@ -3403,14 +3526,14 @@ WriteLiteral(" "); #line default #line hidden - #line 1123 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1152 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.ActionLinkButton("Export Devices", MVC.Device.Export(null, Disco.Models.Services.Devices.DeviceExportTypes.Profile, Model.DeviceProfile.Id))); #line default #line hidden - #line 1123 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1152 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } @@ -3420,7 +3543,7 @@ WriteLiteral(" "); WriteLiteral(" "); - #line 1125 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1154 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" if (Authorization.Has(Claims.Device.Search) && Model.DeviceCount > 0) { @@ -3428,14 +3551,14 @@ WriteLiteral(" "); #line default #line hidden - #line 1127 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1156 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" Write(Html.ActionLinkButton(string.Format("View {0} Device{1}", Model.DeviceCount, (Model.DeviceCount != 1 ? "s" : null)), MVC.Search.Query(Model.DeviceProfile.Id.ToString(), "DeviceProfile"))); #line default #line hidden - #line 1127 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" + #line 1156 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml" } diff --git a/Disco.Web/Extensions/T4MVC/API.DeviceProfileController.generated.cs b/Disco.Web/Extensions/T4MVC/API.DeviceProfileController.generated.cs index b75528e8..1eefab76 100644 --- a/Disco.Web/Extensions/T4MVC/API.DeviceProfileController.generated.cs +++ b/Disco.Web/Extensions/T4MVC/API.DeviceProfileController.generated.cs @@ -151,6 +151,12 @@ namespace Disco.Web.Areas.API.Controllers } [NonAction] [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public virtual System.Web.Mvc.ActionResult UpdateProvisionFromOtherDomain() + { + return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateProvisionFromOtherDomain); + } + [NonAction] + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] public virtual System.Web.Mvc.ActionResult UpdateSetAssignedUserForLogon() { return new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateSetAssignedUserForLogon); @@ -228,6 +234,7 @@ namespace Disco.Web.Areas.API.Controllers public readonly string UpdateEnforceComputerNameConvention = "UpdateEnforceComputerNameConvention"; public readonly string UpdateEnforceOrganisationalUnit = "UpdateEnforceOrganisationalUnit"; public readonly string UpdateProvisionADAccount = "UpdateProvisionADAccount"; + public readonly string UpdateProvisionFromOtherDomain = "UpdateProvisionFromOtherDomain"; public readonly string UpdateSetAssignedUserForLogon = "UpdateSetAssignedUserForLogon"; public readonly string UpdateAssignedUserLocalAdmin = "UpdateAssignedUserLocalAdmin"; public readonly string UpdateAllowUntrustedReimageJobEnrolment = "UpdateAllowUntrustedReimageJobEnrolment"; @@ -256,6 +263,7 @@ namespace Disco.Web.Areas.API.Controllers public const string UpdateEnforceComputerNameConvention = "UpdateEnforceComputerNameConvention"; public const string UpdateEnforceOrganisationalUnit = "UpdateEnforceOrganisationalUnit"; public const string UpdateProvisionADAccount = "UpdateProvisionADAccount"; + public const string UpdateProvisionFromOtherDomain = "UpdateProvisionFromOtherDomain"; public const string UpdateSetAssignedUserForLogon = "UpdateSetAssignedUserForLogon"; public const string UpdateAssignedUserLocalAdmin = "UpdateAssignedUserLocalAdmin"; public const string UpdateAllowUntrustedReimageJobEnrolment = "UpdateAllowUntrustedReimageJobEnrolment"; @@ -419,6 +427,16 @@ namespace Disco.Web.Areas.API.Controllers public readonly string ProvisionADAccount = "ProvisionADAccount"; public readonly string redirect = "redirect"; } + static readonly ActionParamsClass_UpdateProvisionFromOtherDomain s_params_UpdateProvisionFromOtherDomain = new ActionParamsClass_UpdateProvisionFromOtherDomain(); + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public ActionParamsClass_UpdateProvisionFromOtherDomain UpdateProvisionFromOtherDomainParams { get { return s_params_UpdateProvisionFromOtherDomain; } } + [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] + public class ActionParamsClass_UpdateProvisionFromOtherDomain + { + public readonly string id = "id"; + public readonly string ProvisionFromOtherDomain = "ProvisionFromOtherDomain"; + public readonly string redirect = "redirect"; + } static readonly ActionParamsClass_UpdateSetAssignedUserForLogon s_params_UpdateSetAssignedUserForLogon = new ActionParamsClass_UpdateSetAssignedUserForLogon(); [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] public ActionParamsClass_UpdateSetAssignedUserForLogon UpdateSetAssignedUserForLogonParams { get { return s_params_UpdateSetAssignedUserForLogon; } } @@ -727,6 +745,20 @@ namespace Disco.Web.Areas.API.Controllers return callInfo; } + [NonAction] + partial void UpdateProvisionFromOtherDomainOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, int id, string ProvisionFromOtherDomain, bool? redirect); + + [NonAction] + public override System.Web.Mvc.ActionResult UpdateProvisionFromOtherDomain(int id, string ProvisionFromOtherDomain, bool? redirect) + { + var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.UpdateProvisionFromOtherDomain); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "ProvisionFromOtherDomain", ProvisionFromOtherDomain); + ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "redirect", redirect); + UpdateProvisionFromOtherDomainOverride(callInfo, id, ProvisionFromOtherDomain, redirect); + return callInfo; + } + [NonAction] partial void UpdateSetAssignedUserForLogonOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, int id, string setAssignedUserForLogon, bool? redirect);