Tag¶
A Tag is a name and a value, such as department: marketing, that your
ABAC policy can decide on. Objects and accounts carry them in tags. Tags are an
ObjectsGrid extension for access control, not a Schema.org property.
- A name may repeat on one object (
role: buyerandrole: approver), but the same name and value appear only once. - Names use lowercase letters, digits and
-, in parts separated by., such ascost-centeroracme.region. Values are compared exactly, case included. - Every stored object has
tags: it is created empty when you don't send it, kept by aPUTthat leaves it out, unchanged by aPATCHthat leaves it out, and cleared bynullor[]. - Names starting with
security.are reserved for the platform. See Access control.
Example¶
Fields¶
Required: name, val.
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Lowercase letters, digits and "-", in parts separated by "."; each part starts with a letter and does not end with "-". Examples: role, cost-center, acme.region. |
val |
string | Yes | The value, compared exactly (case included). |