Skip to content

Publish workbook: support the encryptExtracts request attribute #1925

Open

Description

@jacalata

The REST API reference for Publish Workbook documents an optional encryptExtracts attribute ("true to encrypt the extracts or false to not encrypt extracts"). TSC never sends it when publishing a workbook, so a caller cannot choose extract encryption at publish time.

Current state

  • RequestFactory sends encryptExtracts for data sources only (datasource_item.encrypt_extracts).
  • WorkbookItem.encrypt_extracts is read from the server response and has no setter. The workbook publish request never reads it.

Proposal
WorkbookItem.encrypt_extracts should be settable, and the workbook publish request should send encryptExtracts when it is not None.

Needed by tabcmd's publish --encrypt-extracts, which is accepted and currently has no effect.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    tabcmdNeeded by or found through tabcmd

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions