diff --git a/src/Modules/OrchardCore.Commerce/Recipes/OrchardCore.Commerce.Development.Setup.recipe.json b/src/Modules/OrchardCore.Commerce/Recipes/OrchardCore.Commerce.Development.Setup.recipe.json index da3ca5616..d483eaf71 100644 --- a/src/Modules/OrchardCore.Commerce/Recipes/OrchardCore.Commerce.Development.Setup.recipe.json +++ b/src/Modules/OrchardCore.Commerce/Recipes/OrchardCore.Commerce.Development.Setup.recipe.json @@ -80,6 +80,115 @@ "admin": "TheAdmin", "site": "TheBlogTheme" }, + { + "name": "Roles", + "Roles": [ + { + "Name": "Moderator", + "Description": "Moderator role", + "Permissions": [ + "AccessAdminPanel", + "ManageOwnUserInformation" + ] + }, + { + "Name": "Authenticated", + "Description": "Authenticated role", + "Permissions": [ + "ViewContent", + "Preview_GlobalDiscount" + ] + }, + { + "Name": "Anonymous", + "Description": "Anonymous role", + "Permissions": [ + "ViewContent" + ] + }, + { + "Name": "Author", + "Description": "Author role", + "Permissions": [ + "AccessAdminPanel", + "ManageOwnUserInformation", + "PublishOwnContent", + "EditOwnContent", + "DeleteOwnContent", + "PreviewOwnContent", + "CloneOwnContent", + "ManageMediaContent" + ] + }, + { + "Name": "Contributor", + "Description": "Contributor role", + "Permissions": [ + "AccessAdminPanel", + "ManageOwnUserInformation", + "EditOwnContent", + "PreviewOwnContent", + "CloneOwnContent", + "ManageMediaContent" + ] + }, + { + "Name": "Editor", + "Description": "Editor role", + "Permissions": [ + "AccessAdminPanel", + "ManageOwnUserInformation", + "PublishContent", + "EditContent", + "DeleteContent", + "PreviewContent", + "CloneContent", + "ListContent", + "ManageMediaContent", + "ManageWorkflows", + "ExecuteWorkflows" + ] + }, + { + "Name": "Administrator", + "Description": "Administrator role", + "Permissions": [ + "ManageSettings", + "AccessAdminPanel", + "ManageAdminSettings", + "ManageUsers", + "ManageRoles", + "SiteOwner", + "ManageTenants", + "ApplyTheme", + "PublishContent", + "EditContent", + "DeleteContent", + "PreviewContent", + "CloneContent", + "AccessContentApi", + "ListContent", + "ViewContentTypes", + "EditContentTypes", + "ManageMediaContent", + "ManageAttachedMediaFieldsFolder", + "ManageMediaProfiles", + "ViewMediaOptions", + "ManageAssetCache", + "ViewAzureMediaOptions", + "ManageBackgroundTasks", + "ManageEmailSettings", + "ManageWorkflows", + "ExecuteWorkflows", + "SetHomepage", + "Import", + "Export", + "ViewAuditTrail", + "ManageAuditTrailSettings" + ] + } + ] + }, { "name": "recipes", "Values": [ diff --git a/src/Modules/OrchardCore.Commerce/Recipes/OrchardCore.Commerce.Development.Tests.Setup.recipe.json b/src/Modules/OrchardCore.Commerce/Recipes/OrchardCore.Commerce.Development.Tests.Setup.recipe.json index 3268db918..1de7b8466 100644 --- a/src/Modules/OrchardCore.Commerce/Recipes/OrchardCore.Commerce.Development.Tests.Setup.recipe.json +++ b/src/Modules/OrchardCore.Commerce/Recipes/OrchardCore.Commerce.Development.Tests.Setup.recipe.json @@ -49,115 +49,6 @@ "name": "OrchardCore.Commerce.Content.TestTieredPriceProduct" } ] - }, - { - "name": "Roles", - "Roles": [ - { - "Name": "Moderator", - "Description": "Moderator role", - "Permissions": [ - "AccessAdminPanel", - "ManageOwnUserInformation" - ] - }, - { - "Name": "Authenticated", - "Description": "Authenticated role", - "Permissions": [ - "ViewContent", - "Preview_GlobalDiscount" - ] - }, - { - "Name": "Anonymous", - "Description": "Anonymous role", - "Permissions": [ - "ViewContent" - ] - }, - { - "Name": "Author", - "Description": "Author role", - "Permissions": [ - "AccessAdminPanel", - "ManageOwnUserInformation", - "PublishOwnContent", - "EditOwnContent", - "DeleteOwnContent", - "PreviewOwnContent", - "CloneOwnContent", - "ManageMediaContent" - ] - }, - { - "Name": "Contributor", - "Description": "Contributor role", - "Permissions": [ - "AccessAdminPanel", - "ManageOwnUserInformation", - "EditOwnContent", - "PreviewOwnContent", - "CloneOwnContent", - "ManageMediaContent" - ] - }, - { - "Name": "Editor", - "Description": "Editor role", - "Permissions": [ - "AccessAdminPanel", - "ManageOwnUserInformation", - "PublishContent", - "EditContent", - "DeleteContent", - "PreviewContent", - "CloneContent", - "ListContent", - "ManageMediaContent", - "ManageWorkflows", - "ExecuteWorkflows" - ] - }, - { - "Name": "Administrator", - "Description": "Administrator role", - "Permissions": [ - "ManageSettings", - "AccessAdminPanel", - "ManageAdminSettings", - "ManageUsers", - "ManageRoles", - "SiteOwner", - "ManageTenants", - "ApplyTheme", - "PublishContent", - "EditContent", - "DeleteContent", - "PreviewContent", - "CloneContent", - "AccessContentApi", - "ListContent", - "ViewContentTypes", - "EditContentTypes", - "ManageMediaContent", - "ManageAttachedMediaFieldsFolder", - "ManageMediaProfiles", - "ViewMediaOptions", - "ManageAssetCache", - "ViewAzureMediaOptions", - "ManageBackgroundTasks", - "ManageEmailSettings", - "ManageWorkflows", - "ExecuteWorkflows", - "SetHomepage", - "Import", - "Export", - "ViewAuditTrail", - "ManageAuditTrailSettings" - ] - } - ] } ] }