Skip to content

Commit

Permalink
Merge pull request #24 from Vizzuality/SKY30-1
Browse files Browse the repository at this point in the history
Data info content type for storing tooltips
  • Loading branch information
Agnieszka Figiel authored Oct 24, 2023
2 parents ed12c93 + a6eb1ed commit e080e7e
Show file tree
Hide file tree
Showing 9 changed files with 719 additions and 111 deletions.
43 changes: 43 additions & 0 deletions cms/config/sync/admin-role.strapi-super-admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,49 @@
"code": "strapi-super-admin",
"description": "Super Admins can access and manage all features and settings.",
"permissions": [
{
"action": "plugin::content-manager.explorer.create",
"actionParameters": {},
"subject": "api::data-info.data-info",
"properties": {
"fields": [
"slug",
"content"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.delete",
"actionParameters": {},
"subject": "api::data-info.data-info",
"properties": {},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.read",
"actionParameters": {},
"subject": "api::data-info.data-info",
"properties": {
"fields": [
"slug",
"content"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.update",
"actionParameters": {},
"subject": "api::data-info.data-info",
"properties": {
"fields": [
"slug",
"content"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.create",
"actionParameters": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"key": "plugin_content_manager_configuration_content_types::api::data-info.data-info",
"value": {
"uid": "api::data-info.data-info",
"settings": {
"bulkable": true,
"filterable": true,
"searchable": true,
"pageSize": 10,
"mainField": "slug",
"defaultSortBy": "slug",
"defaultSortOrder": "ASC"
},
"metadatas": {
"id": {
"edit": {},
"list": {
"label": "id",
"searchable": true,
"sortable": true
}
},
"slug": {
"edit": {
"label": "slug",
"description": "",
"placeholder": "",
"visible": true,
"editable": true
},
"list": {
"label": "slug",
"searchable": true,
"sortable": true
}
},
"content": {
"edit": {
"label": "content",
"description": "",
"placeholder": "",
"visible": true,
"editable": true
},
"list": {
"label": "content",
"searchable": true,
"sortable": true
}
},
"createdAt": {
"edit": {
"label": "createdAt",
"description": "",
"placeholder": "",
"visible": false,
"editable": true
},
"list": {
"label": "createdAt",
"searchable": true,
"sortable": true
}
},
"updatedAt": {
"edit": {
"label": "updatedAt",
"description": "",
"placeholder": "",
"visible": false,
"editable": true
},
"list": {
"label": "updatedAt",
"searchable": true,
"sortable": true
}
},
"createdBy": {
"edit": {
"label": "createdBy",
"description": "",
"placeholder": "",
"visible": false,
"editable": true,
"mainField": "firstname"
},
"list": {
"label": "createdBy",
"searchable": true,
"sortable": true
}
},
"updatedBy": {
"edit": {
"label": "updatedBy",
"description": "",
"placeholder": "",
"visible": false,
"editable": true,
"mainField": "firstname"
},
"list": {
"label": "updatedBy",
"searchable": true,
"sortable": true
}
}
},
"layouts": {
"list": [
"id",
"slug",
"content"
],
"edit": [
[
{
"name": "slug",
"size": 6
}
],
[
{
"name": "content",
"size": 6
}
]
]
}
},
"type": "object",
"environment": null,
"tag": null
}
Loading

0 comments on commit e080e7e

Please sign in to comment.