hi
You can add permission claims to the current user and then get the claim in the EF Core DB context. This will be easier.
But this requires a dynamic claims system if you deny permission from a user.
https://abp.io/docs/latest/framework/fundamentals/authorization?_redirected=B8ABF606AA1BDF5C629883DF1061649A#claims-principal-factory https://abp.io/docs/latest/framework/fundamentals/dynamic-claims?_redirected=B8ABF606AA1BDF5C629883DF1061649A
hi
Use abp clean
command to clear the project.
Then run dotnet build /graphbuild
command.
Can you share your logs of all projects first?
I want to check the logs.
Thanks.
hi.
We have an open-source microservice project. it is similar to Pro.
You can check this one.
https://github.com/abpframework/eShopOnAbp
https://abp.io/community/events/microservice-development-iv7d46ov
Hi, due to licensing differences, we cannot provide the source code for the microservice template project.
hi
Please check the CreateApplicationAsync
It should contain these lines: https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Domain/OpenIddict/OpenIddictDataSeedContributor.cs#L350-L353
hi
Do you mean all source codes for Microservice?
We don't know much about AWS MQ. We can't provide help with it.
But if you can share detailed logs of all applications, we will try to check it.
hi @castcrewit
When we use AWS MQ broker as our Rabbit MQ the data seeding doesn't work properly, we hit the web Gateway and the WebGateway returns a 301 error
These two errors will be reflected in the logs(Logs.txt). Can you set the log level to Debug, reproduce the problem later, and share the logs of all related applications(API, authserver. gateway)?
public class Program
{
public async static Task<int> Main(string[] args)
{
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
.CreateLogger();
Thanks.
liming.ma@volosoft.com