Skip to content

Main content

Community Term Restricted Publication Flag Tool

Expose an explicit community-term publication permission flag and associated restriction record without granting rights.

Loading tool…

Description

Invert a supplied publication-permission flag and preserve a restriction code.

Anthropological records preserve source language, translation status, community terms, household reference dates, kinship labels and permission context. A reciprocal-term display is not a verified kinship rule, while a pseudonym collision differs from identity verification. Display masks and public-access labels do not establish adequate protection or valid consent.

Invert a supplied publication-permission flag and preserve a restriction code.

When to use this tool

Use Community Term Restricted Publication Flag when you already have termId, permissionToPublish, suppliedRestrictionCode and need to invert a supplied publication-permission flag and preserve a restriction code.

How to use the tool and how it works

  1. Enter termId, permissionToPublish, suppliedRestrictionCode. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read publicationRestricted, restrictionRecord. Inspect publicationRestricted before interpreting the associated values.

Require termId/restrictionCode nonempty; publicationRestricted=!permissionToPublish, restrictionRecord=JSON.stringify([termId,restrictionCode]).1

Input fieldMeaning and unitsAccepted input
termIdTerm IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
permissionToPublishPermission To PublishRequired. Boolean.
suppliedRestrictionCodeSupplied Restriction CodeRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
publicationRestrictedLogical inverse of the supplied permissionToPublish flag; not an authorization decision.Required. Boolean.
restrictionRecordRestriction RecordRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "termId": "T17",
    "permissionToPublish": false,
    "suppliedRestrictionCode": "community request"
  },
  "output": {
    "publicationRestricted": true,
    "restrictionRecord": "[\"T17\",\"community request\"]"
  }
}

Limitations and assumptions

  • The restriction code is required even when permission is true. No consent, community authority, rights, actual policy or access control is established.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Consult the original field records, community-provided terms, translation sources and permission instructions for actual interpretation or reuse. Apply protection to underlying records and evaluate the full research context; local keys and status labels do not perform those tasks.

References

  1. Calculation and input contract: cultural-anthropology/community-term-restricted-publication-flag — tool.io

Similar or alternative tools