Allows the CSV pipeline to issue arbitrary PODs. This is done by adding a new output type (POD) to the CSV pipeline, and by adding two new configuration groups. These are:
match: used to determine which field in the input CSV contains either an email address or Semaphore ID, which can be matched against the credential submitted when requesting the feed. This is optional and can be omitted if the existing issueToUnmatchedEmail setting is enabled.
podOutput: used to determine which entries the issued PODs will contain, with source values provided by either:
mapping from a column in the uploaded CSV
mapping from the authentication credential payload (email and Semaphore ID)
constant configured value (e.g. to set the zupass_display field to a constant value like "collectable" for all PODs issued on the pipeline
This is intended to support the issuance of PODs for internal testing/demo purposes, and could be extended and refactored to provide more features and greater usability for external users.
Closes https://linear.app/0xparc-pcd/issue/0XP-981/issue-arbitrary-pods-from-csv-pipeline
Allows the CSV pipeline to issue arbitrary PODs. This is done by adding a new output type (
POD
) to the CSV pipeline, and by adding two new configuration groups. These are:match
: used to determine which field in the input CSV contains either an email address or Semaphore ID, which can be matched against the credential submitted when requesting the feed. This is optional and can be omitted if the existingissueToUnmatchedEmail
setting is enabled.podOutput
: used to determine which entries the issued PODs will contain, with source values provided by either:zupass_display
field to a constant value like"collectable"
for all PODs issued on the pipelineThis is intended to support the issuance of PODs for internal testing/demo purposes, and could be extended and refactored to provide more features and greater usability for external users.