diff --git a/cms/config/sync/admin-role.strapi-author.json b/cms/config/sync/admin-role.strapi-author.json index 9cde45eb..4dc51bfe 100644 --- a/cms/config/sync/admin-role.strapi-author.json +++ b/cms/config/sync/admin-role.strapi-author.json @@ -3,6 +3,366 @@ "code": "strapi-author", "description": "Authors can manage the content they have created.", "permissions": [ + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-info.data-info", + "properties": { + "fields": [ + "slug", + "content", + "data_sources" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-info.data-info", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-info.data-info", + "properties": { + "fields": [ + "slug", + "content", + "data_sources" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-info.data-info", + "properties": { + "fields": [ + "slug", + "content", + "data_sources" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-source.data-source", + "properties": { + "fields": [ + "slug", + "title", + "url" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-source.data-source", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-source.data-source", + "properties": { + "fields": [ + "slug", + "title", + "url" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-source.data-source", + "properties": { + "fields": [ + "slug", + "title", + "url" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-tool-ecosystem.data-tool-ecosystem", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-tool-ecosystem.data-tool-ecosystem", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.publish", + "actionParameters": {}, + "subject": "api::data-tool-ecosystem.data-tool-ecosystem", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-tool-ecosystem.data-tool-ecosystem", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-tool-ecosystem.data-tool-ecosystem", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-tool-language.data-tool-language", + "properties": { + "fields": [ + "name", + "slug", + "data_tool" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-tool-language.data-tool-language", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.publish", + "actionParameters": {}, + "subject": "api::data-tool-language.data-tool-language", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-tool-language.data-tool-language", + "properties": { + "fields": [ + "name", + "slug", + "data_tool" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-tool-language.data-tool-language", + "properties": { + "fields": [ + "name", + "slug", + "data_tool" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-tool-resource-type.data-tool-resource-type", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-tool-resource-type.data-tool-resource-type", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.publish", + "actionParameters": {}, + "subject": "api::data-tool-resource-type.data-tool-resource-type", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-tool-resource-type.data-tool-resource-type", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-tool-resource-type.data-tool-resource-type", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-tool.data-tool", + "properties": { + "fields": [ + "name", + "description", + "site", + "languages", + "data_tool_resource_type", + "geography", + "data_tool_ecosystems" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-tool.data-tool", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.publish", + "actionParameters": {}, + "subject": "api::data-tool.data-tool", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-tool.data-tool", + "properties": { + "fields": [ + "name", + "description", + "site", + "languages", + "data_tool_resource_type", + "geography", + "data_tool_ecosystems" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-tool.data-tool", + "properties": { + "fields": [ + "name", + "description", + "site", + "languages", + "data_tool_resource_type", + "geography", + "data_tool_ecosystems" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, { "action": "plugin::content-manager.explorer.create", "actionParameters": {}, @@ -288,6 +648,66 @@ "admin::is-creator" ] }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::mpa-protection-coverage-stat.mpa-protection-coverage-stat", + "properties": { + "fields": [ + "mpa", + "fishing_protection_level", + "mpaa_protection_level", + "location", + "area" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::mpa-protection-coverage-stat.mpa-protection-coverage-stat", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::mpa-protection-coverage-stat.mpa-protection-coverage-stat", + "properties": { + "fields": [ + "mpa", + "fishing_protection_level", + "mpaa_protection_level", + "location", + "area" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::mpa-protection-coverage-stat.mpa-protection-coverage-stat", + "properties": { + "fields": [ + "mpa", + "fishing_protection_level", + "mpaa_protection_level", + "location", + "area" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, { "action": "plugin::content-manager.explorer.create", "actionParameters": {}, diff --git a/cms/config/sync/admin-role.strapi-editor.json b/cms/config/sync/admin-role.strapi-editor.json index 22858de2..17184a92 100644 --- a/cms/config/sync/admin-role.strapi-editor.json +++ b/cms/config/sync/admin-role.strapi-editor.json @@ -3,6 +3,310 @@ "code": "strapi-editor", "description": "Editors can manage and publish contents including those of other users.", "permissions": [ + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-info.data-info", + "properties": { + "fields": [ + "slug", + "content", + "data_sources" + ] + }, + "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", + "data_sources" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-info.data-info", + "properties": { + "fields": [ + "slug", + "content", + "data_sources" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-source.data-source", + "properties": { + "fields": [ + "slug", + "title", + "url" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-source.data-source", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-source.data-source", + "properties": { + "fields": [ + "slug", + "title", + "url" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-source.data-source", + "properties": { + "fields": [ + "slug", + "title", + "url" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-tool-ecosystem.data-tool-ecosystem", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-tool-ecosystem.data-tool-ecosystem", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.publish", + "actionParameters": {}, + "subject": "api::data-tool-ecosystem.data-tool-ecosystem", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-tool-ecosystem.data-tool-ecosystem", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-tool-ecosystem.data-tool-ecosystem", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-tool-language.data-tool-language", + "properties": { + "fields": [ + "name", + "slug", + "data_tool" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-tool-language.data-tool-language", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.publish", + "actionParameters": {}, + "subject": "api::data-tool-language.data-tool-language", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-tool-language.data-tool-language", + "properties": { + "fields": [ + "name", + "slug", + "data_tool" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-tool-language.data-tool-language", + "properties": { + "fields": [ + "name", + "slug", + "data_tool" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-tool-resource-type.data-tool-resource-type", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-tool-resource-type.data-tool-resource-type", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.publish", + "actionParameters": {}, + "subject": "api::data-tool-resource-type.data-tool-resource-type", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-tool-resource-type.data-tool-resource-type", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-tool-resource-type.data-tool-resource-type", + "properties": { + "fields": [ + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::data-tool.data-tool", + "properties": { + "fields": [ + "name", + "description", + "site", + "languages", + "data_tool_resource_type", + "geography", + "data_tool_ecosystems" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::data-tool.data-tool", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.publish", + "actionParameters": {}, + "subject": "api::data-tool.data-tool", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::data-tool.data-tool", + "properties": { + "fields": [ + "name", + "description", + "site", + "languages", + "data_tool_resource_type", + "geography", + "data_tool_ecosystems" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::data-tool.data-tool", + "properties": { + "fields": [ + "name", + "description", + "site", + "languages", + "data_tool_resource_type", + "geography", + "data_tool_ecosystems" + ] + }, + "conditions": [] + }, { "action": "plugin::content-manager.explorer.create", "actionParameters": {}, @@ -248,6 +552,58 @@ }, "conditions": [] }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::mpa-protection-coverage-stat.mpa-protection-coverage-stat", + "properties": { + "fields": [ + "mpa", + "fishing_protection_level", + "mpaa_protection_level", + "location", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::mpa-protection-coverage-stat.mpa-protection-coverage-stat", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::mpa-protection-coverage-stat.mpa-protection-coverage-stat", + "properties": { + "fields": [ + "mpa", + "fishing_protection_level", + "mpaa_protection_level", + "location", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::mpa-protection-coverage-stat.mpa-protection-coverage-stat", + "properties": { + "fields": [ + "mpa", + "fishing_protection_level", + "mpaa_protection_level", + "location", + "area" + ] + }, + "conditions": [] + }, { "action": "plugin::content-manager.explorer.create", "actionParameters": {},