53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://www.espocrm.com/schema/metadata/components/accessDataList.json",
|
|
"title": "components/accessDataList",
|
|
"description": "Frontend access rules.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"action": {
|
|
"enum": [
|
|
"create",
|
|
"read",
|
|
"edit",
|
|
"stream",
|
|
"delete"
|
|
],
|
|
"description": "An ACL action to check."
|
|
},
|
|
"scope": {
|
|
"type": "string",
|
|
"description": "A scope to check."
|
|
},
|
|
"portalIdList": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "A portal ID list. To check whether a user in one of portals."
|
|
},
|
|
"teamIdList": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "A team ID list. To check whether a user in one of teams."
|
|
},
|
|
"isPortalOnly": {
|
|
"type": "boolean",
|
|
"description": "Allow for portal users only."
|
|
},
|
|
"inPortalDisabled": {
|
|
"type": "boolean",
|
|
"description": "Disable for portal users."
|
|
},
|
|
"isAdminOnly": {
|
|
"type": "boolean",
|
|
"description": "Allow for admin users only."
|
|
}
|
|
}
|
|
}
|
|
}
|