@model Disco.Web.Areas.Config.Models.Enrolment.IndexModel @{ Authorization.Require(Claims.Config.Enrolment.Show); var canConfig = Authorization.Has(Claims.Config.Enrolment.Configure); var canShowStatus = Authorization.Has(Claims.Config.Enrolment.ShowStatus); ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Device Enrolment"); Html.BundleDeferred("~/ClientScripts/Modules/Disco-PropertyChangeHelpers"); }
| Pending Timeout: | @if (canConfig) { @Html.TextBoxFor(model => model.PendingTimeoutMinutes, new { type = "number", min = "1" }) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader() minutes (default: 30) } else { @TimeSpan.FromMinutes(Model.PendingTimeoutMinutes) } |
|---|---|
| If a device enrolment is not automatically approved it will remain pending until the timeout is reached. Pending enrolments can be approved manually from the Enrolment Status page. | |
| Username: | @if (canConfig) { @Html.TextBoxFor(model => model.MacSshUsername) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader() } else { if (string.IsNullOrEmpty(Model.MacSshUsername)) { <None Specified> } else { @Model.MacSshUsername } } |
|---|---|
| Password: |
@if (canConfig)
{
@AjaxHelpers.AjaxSave()
@AjaxHelpers.AjaxLoader()
}
else
{
|
|
Instructions: The above credentials must be
able to connect to the requesting Apple Mac client via SSH. Enter/Script the following command:
This url will return a JSON response containing basic information about the enrolment. This command makes use of cURL (bundled with OSX). Other methods can also trigger a Mac Secure Enroll, such as an anchor (<a>) or <script> tag embedded on the organisation's intranet. |
|