From 6117d1988669c99e5a8c085a46075b8c084b923d Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Sun, 12 Jan 2025 07:51:07 +0300 Subject: [PATCH] Remove roles from *.recipe.json --- .../TheAdmin/Recipes/blank.recipe.json | 40 ----------------- .../TheAdmin/Recipes/headless.recipe.json | 44 ------------------- .../TheAgencyTheme/Recipes/agency.recipe.json | 40 ----------------- .../TheBlogTheme/Recipes/blog.recipe.json | 40 ----------------- .../Recipes/comingsoon.recipe.json | 40 ----------------- 5 files changed, 204 deletions(-) diff --git a/src/OrchardCore.Themes/TheAdmin/Recipes/blank.recipe.json b/src/OrchardCore.Themes/TheAdmin/Recipes/blank.recipe.json index 5b170e73669..a9dd2357acb 100644 --- a/src/OrchardCore.Themes/TheAdmin/Recipes/blank.recipe.json +++ b/src/OrchardCore.Themes/TheAdmin/Recipes/blank.recipe.json @@ -65,46 +65,6 @@ "name": "themes", "admin": "TheAdmin", "site": "" - }, - { - "name": "Roles", - "Roles": [ - { - "Name": "Administrator", - "Description": "A system role that grants all permissions to the assigned users.", - "Permissions": [] - }, - { - "Name": "Moderator", - "Description": "Grants users the ability to moderate content.", - "Permissions": [] - }, - { - "Name": "Editor", - "Description": "Grants users the ability to edit existing content.", - "Permissions": [] - }, - { - "Name": "Author", - "Description": "Grants users the ability to create content.", - "Permissions": [] - }, - { - "Name": "Contributor", - "Description": "Grants users the ability to contribute content.", - "Permissions": [] - }, - { - "Name": "Authenticated", - "Description": "A system role representing all authenticated users.", - "Permissions": [] - }, - { - "Name": "Anonymous", - "Description": "A system role representing all non-authenticated users.", - "Permissions": [] - } - ] } ] } diff --git a/src/OrchardCore.Themes/TheAdmin/Recipes/headless.recipe.json b/src/OrchardCore.Themes/TheAdmin/Recipes/headless.recipe.json index 65a4b0a24d3..f5c3ab88d2d 100644 --- a/src/OrchardCore.Themes/TheAdmin/Recipes/headless.recipe.json +++ b/src/OrchardCore.Themes/TheAdmin/Recipes/headless.recipe.json @@ -61,50 +61,6 @@ "TheAdmin" ] }, - { - "name": "Roles", - "Roles": [ - { - "Name": "Administrator", - "Description": "A system role that grants all permissions to the assigned users.", - "Permissions": [] - }, - { - "Name": "Moderator", - "Description": "Grants users the ability to moderate content.", - "Permissions": [] - }, - { - "Name": "Editor", - "Description": "Grants users the ability to edit existing content.", - "Permissions": [] - }, - { - "Name": "Author", - "Description": "Grants users the ability to create content.", - "Permissions": [] - }, - { - "Name": "Contributor", - "Description": "Grants users the ability to contribute content.", - "Permissions": [] - }, - { - "Name": "Authenticated", - "Description": "A system role representing all authenticated users.", - "Permissions": [ - "ViewContent", - "ExecuteGraphQL", - "ExecuteApiAll" - ] - }, - { - "Name": "Anonymous", - "Description": "A system role representing all non-authenticated users.", - "Permissions": [] - } - ] - }, { "name": "settings", "HomeRoute": { diff --git a/src/OrchardCore.Themes/TheAgencyTheme/Recipes/agency.recipe.json b/src/OrchardCore.Themes/TheAgencyTheme/Recipes/agency.recipe.json index 9c99ed5b29d..e2c9fccd2b7 100644 --- a/src/OrchardCore.Themes/TheAgencyTheme/Recipes/agency.recipe.json +++ b/src/OrchardCore.Themes/TheAgencyTheme/Recipes/agency.recipe.json @@ -70,46 +70,6 @@ "admin": "TheAdmin", "site": "TheAgencyTheme" }, - { - "name": "Roles", - "Roles": [ - { - "Name": "Administrator", - "Description": "A system role that grants all permissions to the assigned users.", - "Permissions": [] - }, - { - "Name": "Moderator", - "Description": "Grants users the ability to moderate content.", - "Permissions": [] - }, - { - "Name": "Editor", - "Description": "Grants users the ability to edit existing content.", - "Permissions": [] - }, - { - "Name": "Author", - "Description": "Grants users the ability to create content.", - "Permissions": [] - }, - { - "Name": "Contributor", - "Description": "Grants users the ability to contribute content.", - "Permissions": [] - }, - { - "Name": "Authenticated", - "Description": "A system role representing all authenticated users.", - "Permissions": [] - }, - { - "Name": "Anonymous", - "Description": "A system role representing all non-authenticated users.", - "Permissions": [] - } - ] - }, { "name": "settings", "HomeRoute": { diff --git a/src/OrchardCore.Themes/TheBlogTheme/Recipes/blog.recipe.json b/src/OrchardCore.Themes/TheBlogTheme/Recipes/blog.recipe.json index ceabdaee507..1b42aa67a3f 100644 --- a/src/OrchardCore.Themes/TheBlogTheme/Recipes/blog.recipe.json +++ b/src/OrchardCore.Themes/TheBlogTheme/Recipes/blog.recipe.json @@ -84,46 +84,6 @@ "admin": "TheAdmin", "site": "TheBlogTheme" }, - { - "name": "Roles", - "Roles": [ - { - "Name": "Administrator", - "Description": "A system role that grants all permissions to the assigned users.", - "Permissions": [] - }, - { - "Name": "Moderator", - "Description": "Grants users the ability to moderate content.", - "Permissions": [] - }, - { - "Name": "Editor", - "Description": "Grants users the ability to edit existing content.", - "Permissions": [] - }, - { - "Name": "Author", - "Description": "Grants users the ability to create content.", - "Permissions": [] - }, - { - "Name": "Contributor", - "Description": "Grants users the ability to contribute content.", - "Permissions": [] - }, - { - "Name": "Authenticated", - "Description": "A system role representing all authenticated users.", - "Permissions": [] - }, - { - "Name": "Anonymous", - "Description": "A system role representing all non-authenticated users.", - "Permissions": [] - } - ] - }, { "name": "settings", "HomeRoute": { diff --git a/src/OrchardCore.Themes/TheComingSoonTheme/Recipes/comingsoon.recipe.json b/src/OrchardCore.Themes/TheComingSoonTheme/Recipes/comingsoon.recipe.json index bc8b03a9ebe..29f7348c055 100644 --- a/src/OrchardCore.Themes/TheComingSoonTheme/Recipes/comingsoon.recipe.json +++ b/src/OrchardCore.Themes/TheComingSoonTheme/Recipes/comingsoon.recipe.json @@ -67,46 +67,6 @@ "admin": "TheAdmin", "site": "TheComingSoonTheme" }, - { - "name": "Roles", - "Roles": [ - { - "Name": "Administrator", - "Description": "A system role that grants all permissions to the assigned users.", - "Permissions": [] - }, - { - "Name": "Moderator", - "Description": "Grants users the ability to moderate content.", - "Permissions": [] - }, - { - "Name": "Editor", - "Description": "Grants users the ability to edit existing content.", - "Permissions": [] - }, - { - "Name": "Author", - "Description": "Grants users the ability to create content.", - "Permissions": [] - }, - { - "Name": "Contributor", - "Description": "Grants users the ability to contribute content.", - "Permissions": [] - }, - { - "Name": "Authenticated", - "Description": "A system role representing all authenticated users.", - "Permissions": [] - }, - { - "Name": "Anonymous", - "Description": "A system role representing all non-authenticated users.", - "Permissions": [] - } - ] - }, { "name": "settings", "HomeRoute": {