D3V-Server/backend/lib/access/users-get.json

24 lines
334 B
JSON
Raw Normal View History

2026-03-07 13:49:44 +00:00
{
"anyOf": [
{
"$ref": "roles#/definitions/admin"
},
{
"type": "object",
"required": ["data", "scope"],
"properties": {
"data": {
"$ref": "objects#/properties/users"
},
"scope": {
"type": "array",
"contains": {
"type": "string",
"pattern": "^user$"
}
}
}
}
]
}