snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
This commit is contained in:
166
application/Espo/Resources/metadata/entityDefs/Role.json
Normal file
166
application/Espo/Resources/metadata/entityDefs/Role.json
Normal file
@@ -0,0 +1,166 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"maxLength": 150,
|
||||
"required": true,
|
||||
"type": "varchar",
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"info": {
|
||||
"type": "base",
|
||||
"orderDisabled": true,
|
||||
"notStorable": true,
|
||||
"readOnly": true,
|
||||
"view": "views/role/fields/info"
|
||||
},
|
||||
"assignmentPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "all", "team", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"userPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "all", "team", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"messagePermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "all", "team", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"portalPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "yes", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"groupEmailAccountPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "all", "team", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"exportPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "yes", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"massUpdatePermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "yes", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"dataPrivacyPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "yes", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"followerManagementPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "all", "team", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"auditPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "yes", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"mentionPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "all", "team", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"userCalendarPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "all", "team", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"lockPermission": {
|
||||
"type": "enum",
|
||||
"options": ["not-set", "yes", "no"],
|
||||
"default": "not-set",
|
||||
"tooltip": true,
|
||||
"translation": "Role.options.levelList",
|
||||
"view": "views/role/fields/permission",
|
||||
"audited": true
|
||||
},
|
||||
"data": {
|
||||
"type": "jsonObject",
|
||||
"audited": true
|
||||
},
|
||||
"fieldData": {
|
||||
"type": "jsonObject",
|
||||
"audited": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"users": {
|
||||
"type": "hasMany",
|
||||
"entity": "User",
|
||||
"foreign": "roles"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"foreign": "roles"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "name",
|
||||
"order": "asc"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user