Files
Disco/Disco.Services/Authorization/Roles/ClaimGroups/Configuration/DocumentTemplate/DocumentTemplateClaims.cs
T
Gary Sharp 1cc7e94646 Feature #67: Advanced document template events
OnGenerated and OnImportAttachment allow advanced users to enter
expressions which will be evaluated whenever these document
template/importing events are triggered. This enables greater
automation.
2014-07-26 20:02:59 +10:00

40 lines
1.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Disco.Services.Authorization.Roles.ClaimGroups.Configuration.DocumentTemplate
{
[ClaimDetails("Document Templates", "Permissions related to Document Templates")]
public class DocumentTemplateClaims : BaseRoleClaimGroup
{
[ClaimDetails("Configure Document Templates", "Can configure document templates")]
public bool Configure { get; set; }
[ClaimDetails("Configure Advanced Expression", "Can configure filter, generate and import expressions for document templates")]
public bool ConfigureFilterExpression { get; set; }
[ClaimDetails("Upload Document Templates", "Can upload document templates")]
public bool Upload { get; set; }
[ClaimDetails("Create Document Templates", "Can create document templates")]
public bool Create { get; set; }
[ClaimDetails("Delete Document Templates", "Can delete document templates")]
public bool Delete { get; set; }
[ClaimDetails("Show Document Templates", "Can show document templates")]
public bool Show { get; set; }
[ClaimDetails("Show Document Template Import Status", "Can show the document template import status")]
public bool ShowStatus { get; set; }
[ClaimDetails("Bulk Generate Document Templates", "Can bulk generate document templates")]
public bool BulkGenerate { get; set; }
[ClaimDetails("Process Undetected Pages", "Can show and assign imported documents which were not undetected")]
public bool UndetectedPages { get; set; }
}
}