namespace Disco.Services.Authorization.Roles.ClaimGroups.Device { [ClaimDetails("Actions", "Permissions related to Device Actions")] public class DeviceActionsClaims : BaseRoleClaimGroup { [ClaimDetails("Allow Unauthenticated Enrol", "Can allow devices to enrol without authentication")] public bool AllowUnauthenticatedEnrol { get; set; } [ClaimDetails("Assign User", "Can update the user assignment of devices")] public bool AssignUser { get; set; } [ClaimDetails("Decommission", "Can decommission devices")] public bool Decommission { get; set; } [ClaimDetails("Recommission", "Can recommission devices")] public bool Recommission { get; set; } [ClaimDetails("Delete", "Can delete devices")] public bool Delete { get; set; } [ClaimDetails("Add Comments", "Can add device comments")] public bool AddComments { get; set; } [ClaimDetails("Remove Any Comments", "Can remove any device comments")] public bool RemoveAnyComments { get; set; } [ClaimDetails("Remove Own Comments", "Can remove own device comments")] public bool RemoveOwnComments { get; set; } [ClaimDetails("Add Attachments", "Can add attachments to devices")] public bool AddAttachments { get; set; } [ClaimDetails("Remove Any Attachments", "Can remove any attachments from devices")] public bool RemoveAnyAttachments { get; set; } [ClaimDetails("Remove Own Attachments", "Can remove own attachments from devices")] public bool RemoveOwnAttachments { get; set; } [ClaimDetails("Generate Documents", "Can generate documents for jobs")] public bool GenerateDocuments { get; set; } [ClaimDetails("Add Device Flags", "Can add device flags")] public bool AddFlags { get; set; } [ClaimDetails("Remove Device Flags", "Can remove device flags")] public bool RemoveFlags { get; set; } [ClaimDetails("Edit Device Flags", "Can edit device flags")] public bool EditFlags { get; set; } [ClaimDetails("Enrol Devices", "Can add devices offline and enrol devices with the Bootstrapper")] public bool EnrolDevices { get; set; } [ClaimDetails("Import Devices", "Can bulk import devices")] public bool Import { get; set; } [ClaimDetails("Export Devices", "Can export devices in a bulk format")] public bool Export { get; set; } } }