Skip to content
HALOWERK

Sicherwerk

permissions policy origin eval

Return target-origin membership in the intersection of supplied normalized policy allowlists. Local policy only.

POST https://sicher.halowerk.com/v1/permissions-policy-origin-eval

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
originstringYes
rulesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1
    },
    "rules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "self_origin": {
            "type": "string",
            "maxLength": 256,
            "minLength": 1
          },
          "allow": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            "maxItems": 20,
            "minItems": 0
          }
        },
        "required": [
          "self_origin",
          "allow"
        ],
        "additionalProperties": false
      },
      "maxItems": 10,
      "minItems": 1
    }
  },
  "required": [
    "origin",
    "rules"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "origin": "https://cdn.halowerk.com",
  "rules": [
    {
      "self_origin": "https://halowerk.com",
      "allow": [
        "*"
      ]
    },
    {
      "self_origin": "https://halowerk.com",
      "allow": [
        "self"
      ]
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’