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
We have three default System roles coming from OrchardCore.Roles.Core, Anonymous, Authenticated, and Administrator (or a user-configured name for the same):
Nevertheless, these roles need to be created for each site, with descriptions, usually from a setup recipe. This is repetition that if one uses something other than the built-in recipes, one also has to continue in custom recipes.
Describe the solution you'd like
Pre-create the three roles, e.g. from the OrchardCore.Roles module, with their default descriptions, and remove them from the built-in recipes.
Describe alternatives you've considered
Having something explicit, like a recipe command or some IServiceCollection extension, that would create these roles. However, since the System roles are already a default (and well, System ones, important ones), I'd rather create them already.
If one wants to override their descriptions, or in case of Anonymous and Authenticated, their permissions, they'll still be able to in much the same way, also from setup recipes.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
We have three default System roles coming from
OrchardCore.Roles.Core
, Anonymous, Authenticated, and Administrator (or a user-configured name for the same):OrchardCore/src/OrchardCore/OrchardCore.Roles.Core/Services/DefaultSystemRoleNameProvider.cs
Line 7 in 6322061
Nevertheless, these roles need to be created for each site, with descriptions, usually from a setup recipe. This is repetition that if one uses something other than the built-in recipes, one also has to continue in custom recipes.
Describe the solution you'd like
Pre-create the three roles, e.g. from the
OrchardCore.Roles
module, with their default descriptions, and remove them from the built-in recipes.Describe alternatives you've considered
Having something explicit, like a recipe command or some
IServiceCollection
extension, that would create these roles. However, since the System roles are already a default (and well, System ones, important ones), I'd rather create them already.If one wants to override their descriptions, or in case of Anonymous and Authenticated, their permissions, they'll still be able to in much the same way, also from setup recipes.
The text was updated successfully, but these errors were encountered: