Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 2.26 KB

accesscontrolpolicy.schema.md

File metadata and controls

80 lines (56 loc) · 2.26 KB

Access Control Policy Schema

https://ns.adobe.com/xdm/external/repo/accesscontrolpolicy

Schema for the Access Control Policy of a resource

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Experimental No Forbidden Permitted external/repo/accesscontrolpolicy.schema.json

Schema Hierarchy

  • Access Control Policy https://ns.adobe.com/xdm/external/repo/accesscontrolpolicy

Access Control Policy Example

{
  "repo:acl": [
    {
      "repo:principal": "authenticated",
      "repo:privileges": [
        "read"
      ],
      "repo:modifier": "grant"
    },
    {
      "repo:principal": {
        "xdm:provider": {
          "@id": "https://ims-na1.adobelogin.com/"
        },
        "@id": "C0B648DE57D701277F000101@AdobeID",
        "@type": "https://ns.adobe.com/adobecloudplatform/ims/user"
      },
      "repo:privileges": [
        "write",
        "delete"
      ],
      "repo:modifier": "grant",
      "repo:inheritance": "deep"
    }
  ]
}

Access Control Policy Properties

Property Type Required Defined by
repo:acl Access Control Entry Optional Access Control Policy (this schema)
* any Additional this schema allows additional properties

repo:acl

Access Control List

Schema for the Access Control List of a resource

repo:acl

  • is optional

  • type: Access Control Entry

  • defined in this schema

repo:acl Type

Array type: Access Control Entry

All items must be of the type: