export const Roles = {
    RED_CREATE_TENANT: 'fforesight-create-tenant',
    RED_DEPLOYMENT_INFO: 'fforesight-deployment-info',
    RED_GET_TENANTS: 'fforesight-get-tenants',
    RED_READ_VERSIONS: 'red-read-versions',
    RED_REINDEX: 'red-reindex',
    managePreferences: 'fforesight-manage-user-preferences',
    updateMyProfile: 'fforesight-update-my-profile',
    getRss: 'red-get-rss',
    excludeIncludeFile: 'red-exclude-include-file',
    excludeIncludePages: 'red-exclude-include-pages',
    manageViewedPages: 'red-manage-viewed-pages',
    setReviewer: 'red-set-reviewer',
    readDownloadStatus: 'red-read-download-status',
    readRedactionLog: 'red-read-redaction-log',
    search: 'red-search',
    searchAudit: 'red-search-audit-log',
    manageAclPermissions: 'red-manage-acl-permissions',
    getTables: 'red-get-tables',
    rules: {
        read: 'red-read-rules',
        write: 'red-write-rules',
    },
    redactions: {
        write: 'red-add-redaction',
        readManual: 'red-read-manual-redactions',
        deleteManual: 'red-delete-manual-redaction',
        deleteImported: 'red-delete-imported-redactions',
        request: 'red-request-redaction',
        processManualRequest: 'red-process-manual-redaction-request',
    },
    comments: {
        write: 'red-add-comment',
        delete: 'red-delete-comment',
    },
    smtp: {
        read: 'fforesight-read-smtp-configuration',
        write: 'fforesight-write-smtp-configuration',
    },
    license: {
        edit: 'red-update-license',
        read: 'red-read-license',
        readReport: 'red-read-license-report',
    },
    digitalSignature: {
        read: 'red-read-digital-signature',
        write: 'red-write-digital-signature',
    },
    legalBasis: {
        read: 'red-read-legal-basis',
        write: 'red-write-legal-basis',
    },
    reportTemplates: {
        read: 'red-get-report-templates',
        upload: 'red-upload-report-template',
        download: 'red-download-report-template',
        delete: 'red-delete-report-template',
    },
    highlights: {
        read: 'red-get-highlights',
        delete: 'red-delete-highlights',
        convert: 'red-convert-highlights',
        process: 'red-process-texthighlights',
    },
    watermarks: {
        write: 'red-write-watermark',
        read: 'red-read-watermark',
    },
    users: {
        write: 'fforesight-write-users',
        read: 'fforesight-read-users',
        readAll: 'fforesight-read-all-users',
    },
    dossiers: {
        read: 'red-read-dossier',
        write: 'red-add-update-dossier',
        edit: 'red-add-update-dossier',
        delete: 'red-delete-dossier',
        archived: 'red-archived-dossier',
        reanalyze: 'red-reanalyze-dossier',
        dictionaryTypes: {
            write: 'red-add-update-dossier-dictionary-type',
            delete: 'red-delete-dossier-dictionary-type',
        },
        dictionaryEntries: {
            write: 'red-add-dossier-dictionary-entry',
            delete: 'red-delete-dossier-dictionary-entry',
        },
    },
    files: {
        delete: 'red-delete-file',
        readStatus: 'red-read-file-status',
        processDownload: 'red-process-download',
        downloadAnnotated: 'red-download-annotated-file',
        downloadOriginal: 'red-download-original-file',
        downloadRedacted: 'red-download-redacted-file',
        downloadPreview: 'red-download-redaction-preview-file',
        reanalyze: 'red-reanalyze-file',
        upload: 'red-upload-file',
        setApproved: 'red-set-status-approved',
        setUnderApproval: 'red-set-status-under-approval',
        rotatePage: 'red-rotate-page',
    },
    templates: {
        read: 'red-read-dossier-templates',
        write: 'red-write-dossier-templates',
    },
    states: {
        read: 'red-read-dossier-status',
        write: 'red-write-dossier-status',
    },
    fileAttributes: {
        write: 'red-write-file-attributes',
        readConfig: 'red-read-file-attributes-config',
        writeConfig: 'red-write-file-attributes-config',
    },
    dossierAttributes: {
        read: 'red-read-dossier-attributes',
        write: 'red-write-dossier-attributes',
        readConfig: 'red-read-dossier-attributes-config',
        writeConfig: 'red-write-dossier-attributes-config',
    },
    dictionaryEntries: {
        write: 'red-add-dictionary-entry',
        delete: 'red-delete-dictionary-entry',
    },
    dictionaryTypes: {
        read: 'red-read-dictionary-types',
        write: 'red-add-update-dictionary-type',
        delete: 'red-delete-dictionary-type',
    },
    colors: {
        read: 'red-read-colors',
        write: 'red-write-colors',
    },
    notifications: {
        read: 'red-read-notification',
        write: 'red-update-notification',
    },
    appConfiguration: {
        read: 'red-read-app-configuration',
        write: 'red-write-app-configuration',
    },
    generalConfiguration: {
        read: 'fforesight-read-general-configuration',
        write: 'fforesight-write-general-configuration',
    },
    any: 'any',
} as const;
