This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/schema/metadata/components/accessDataList.json
T
Yuri Kuznetsov 0e37635373 schema
2023-05-25 17:18:55 +03:00

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."
}
}
}
}