Open blackWins opened 1 year ago
If multiple groups are defined, which group should be used?
Use the last one because the permission code is appended at the end.The purpose of modification is to avoid abnormal process interruption when there are multiple groups
https://github.com/EasyAbp/AbpHelper.CLI/blob/95c8f2100c2287c4240be28db992e448198bc175/src/AbpHelper.Core/Steps/Abp/ModificationCreatorSteps/CSharp/PermissionDefinitionProviderStep.cs#L21
When content contain
context.AddGroup
more than one then will throw exception, we can useFirst
replaceSingle
.sometime It is possible to declare multiple groups.