Vc backed claim gates permission 01

A policy from the Compliance corpus. The table gives the source and what the policy shows, in the source's words.

SourceWhat it shows
vc-backed-claim-gates-permission-01.ttlA VC-backed claim that genuinely gates a permission's own constraint, not merely decorative

Policy #

{
  "@context": [
    "http://www.w3.org/ns/odrl.jsonld",
    {
      "case": "https://ds-labs-org.github.io/ds-odrl-compliance-rdf/cases/vc-backed-claim-gates-permission-01#",
      "dsc": "https://ds-labs-org.github.io/ds-odrl-compliance-rdf/ns#",
      "dpv": "https://w3id.org/dpv#",
      "foaf": "http://xmlns.com/foaf/0.1/",
      "vcard": "http://www.w3.org/2006/vcard/ns#"
    }
  ],
  "@graph": [
    {
      "@type": "Set",
      "uid": "case:policy-a",
      "assigner": "did:web:provider.example",
      "permission": [
        {
          "uid": "case:perm-read",
          "target": "case:asset-classified",
          "action": "read",
          "constraint": [
            {
              "leftOperand": {
                "@id": "case:claim-clearanceLevel",
                "@type": "dsc:ClaimKey",
                "dsc:key": "clearanceLevel"
              },
              "operator": "eq",
              "rightOperand": "elevated"
            }
          ]
        }
      ]
    }
  ]
}

Reading #

The sentences OdrlProse writes for this policy, without a profile.

Policy set case:policy-a

A set of rules from did:web:provider.example (assigner).

  1. Anyone may read asset-classified, as permitted by the assigner did:web:provider.example.

    Applies only if:

    • the claim clearance level is equal to "elevated"

The renderer raised no warning for this policy.

Back to the Compliance corpus or the catalog.