Skip to content

Commit

Permalink
Data model
Browse files Browse the repository at this point in the history
  • Loading branch information
agnessa committed Oct 9, 2023
1 parent 8553865 commit cacc595
Show file tree
Hide file tree
Showing 111 changed files with 11,624 additions and 234 deletions.
53 changes: 53 additions & 0 deletions cms/config/sync/admin-role.strapi-author.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"name": "Author",
"code": "strapi-author",
"description": "Authors can manage the content they have created.",
"permissions": [
{
"action": "plugin::upload.assets.copy-link",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": []
},
{
"action": "plugin::upload.assets.create",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": []
},
{
"action": "plugin::upload.assets.download",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": []
},
{
"action": "plugin::upload.assets.update",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": [
"admin::is-creator"
]
},
{
"action": "plugin::upload.configure-view",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": []
},
{
"action": "plugin::upload.read",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": [
"admin::is-creator"
]
}
]
}
49 changes: 49 additions & 0 deletions cms/config/sync/admin-role.strapi-editor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"name": "Editor",
"code": "strapi-editor",
"description": "Editors can manage and publish contents including those of other users.",
"permissions": [
{
"action": "plugin::upload.assets.copy-link",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": []
},
{
"action": "plugin::upload.assets.create",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": []
},
{
"action": "plugin::upload.assets.download",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": []
},
{
"action": "plugin::upload.assets.update",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": []
},
{
"action": "plugin::upload.configure-view",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": []
},
{
"action": "plugin::upload.read",
"actionParameters": {},
"subject": null,
"properties": {},
"conditions": []
}
]
}
Loading

0 comments on commit cacc595

Please sign in to comment.