Skip to content

Add dcl metadata override and cover page metadata support#12

Open
torreirow wants to merge 1 commit intomainfrom
feature/dcl-metadata-override
Open

Add dcl metadata override and cover page metadata support#12
torreirow wants to merge 1 commit intomainfrom
feature/dcl-metadata-override

Conversation

@torreirow
Copy link

  • texnative_dcl.lua: Add support for simple 'dcl' property to override data classification level from command line (-M dcl="confidential") instead of the verbose -M data_classification_label.level syntax
  • page-cover.tex: Add support for clientname and reportperiod metadata fields for flexible report generation

Both changes are backward compatible and add new functionality.

- texnative_dcl.lua: Add support for simple 'dcl' property to override
  data classification level from command line (-M dcl="confidential")
  instead of the verbose -M data_classification_label.level syntax
- page-cover.tex: Add support for clientname and reportperiod metadata
  fields for flexible report generation

Both changes are backward compatible and add new functionality.

-- Support simple 'dcl' property to override level
-- This allows: -M dcl="confidential" instead of -M data_classification_label.level="confidential"
if meta.dcl ~= nil then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the change, but could this be meta.data_classification_level? Verbose properties are self documenting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants