You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to setup the Lombiq.Hosting.Tenants.Management.HideRecipesFromSetup feature to exclude the Blog, Agency, and Coming Soon setup recipes as options for creating a new tenant.
I expected that this would remove these recipes as options that could be selected when creating a new tenant, if I am in the root or default tenant of a multi-tenant OrchardCore application, and I go to Admin -> Configuration -> Tenants and click the Add Tenant button.
But I am still seeing those options available.
I looked at the source of the OrchardCore.Tenants.Controller.AdminController code, and it doesn't look like that area uses an ISetupService instance to get setup recipes, but rather it collects them with RecipeHarvesters directly. So the wrapped version that this feature provides wouldn't be used there.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Lombiq.Hosting.Tenants.Management.HideRecipesFromSetup: Should this work on the Tenants->Create Tenant page?
Lombiq.Hosting.Tenants.Management.HideRecipesFromSetup: Should this work on the Tenants->Create Tenant page? (OSOE-586)
Mar 7, 2023
I have tried to setup the Lombiq.Hosting.Tenants.Management.HideRecipesFromSetup feature to exclude the Blog, Agency, and Coming Soon setup recipes as options for creating a new tenant.
builder.HideRecipesByTagsFromSetup("blog", "agency", "comingsoon");
I expected that this would remove these recipes as options that could be selected when creating a new tenant, if I am in the root or default tenant of a multi-tenant OrchardCore application, and I go to Admin -> Configuration -> Tenants and click the Add Tenant button.
But I am still seeing those options available.
I looked at the source of the OrchardCore.Tenants.Controller.AdminController code, and it doesn't look like that area uses an ISetupService instance to get setup recipes, but rather it collects them with RecipeHarvesters directly. So the wrapped version that this feature provides wouldn't be used there.
How is this supposed to be used?
Jira issue
The text was updated successfully, but these errors were encountered: