strapi/packages/core/admin/models/Permission.settings.json
2021-04-29 12:03:54 +02:00

50 lines
901 B
JSON

{
"collectionName": "strapi_permission",
"info": {
"name": "Permission",
"description": ""
},
"options": {
"timestamps": true
},
"pluginOptions": {
"content-manager": {
"visible": false
},
"content-type-builder": {
"visible": false
}
},
"attributes": {
"action": {
"type": "string",
"minLength": 1,
"configurable": false,
"required": true
},
"subject": {
"type": "string",
"minLength": 1,
"configurable": false,
"required": false
},
"properties": {
"type": "json",
"configurable": false,
"required": false,
"default": {}
},
"conditions": {
"type": "json",
"configurable": false,
"required": false,
"default": []
},
"role": {
"configurable": false,
"model": "role",
"plugin": "admin"
}
}
}