hi
You can add a IDataSeedContributor class and get all permissions, then seeder for a specific role(Line 37).
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionDataSeedContributor.cs#L10-L41
ABP studio is keep giving errors:
Can you try to upgrade to the latest studio and reopen again?
Thanks.
hi
volo.abp.studio.cli 0.9.15 works for me.
> dotnet tool list -g
Package Id Version Commands
-------------------------------------------------------
volo.abp.studio.cli 0.9.15 abp
> abp get-source Volo.Abp.IdentityServer --version 8.2.3
[12:56:44 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[12:56:44 INF] Downloading source code of Volo.Abp.IdentityServer (v8.2.3)
[12:56:44 INF] Output folder: /Users/maliming/Downloads/123
[12:56:44 INF] 'Volo.Abp.IdentityServer' has been successfully downloaded to '123'
hi
I have tested, but I am unable to reproduce.
See my test videos(two): https://we.tl/t-Sk902jj9Qh and https://we.tl/t-G7hc8aBHpN
hi
Thanks. I will check the OtisEd.Artifact.Angular project.
hi
Can you share the source code of your Program.cs ?
hi
I get files in clientproxis mapp but without attributes.
The generate-proxy command doesn't support generating the attributes of DTO's properties.
If you need them, you can copy the DTO class to the clientproxis folder.
Thanks.
hi
You shouldn't add EF Core migrations to your module solution.
The module does not depend on any database provider. It uses EF Core. Your App will decide which database provider to use.
The module template is designed to be reused in every type of app. EF Core or Mongodb. Monolithic or microservice. So it can't decide what database provider should used.