Activities of "liangshiwei"

Hi,

I can reproduce the problem, you can remove remoteEnv from environment.prod.ts to solve the problem.

we will fix the problem in the next patch version and refund your ticket.

Hi,

Could you please share a minimal reproducible project with me? I will check it. shiwei.liang@volosoft.com

Could you share the full logs?

Hi,

You can add a role named PublicUser and check it in the middleware.

For example

admin project

app.UseAuthentication();
.......

app.Use(async (httpContext, next) =>
{
    var currentUser = httpContext.RequestServices.GetRequiredService<ICurrentUser>();
    if (currentUser.IsInRole("PublicUser"))
    {
        //redirect ...
        return;
    }
    await next();
});

Hi,

I think this is a new question, could you please create a new ticket? thanks.

Hi,

I think you can set the environment value in this way. Read from your config and set to environment https://abp.io/docs/latest/framework/ui/angular/environment#how-to-set-the-environment

Hi,

Can you share the suite logs

They are not gone, they just compressed

Hi,

How do we accomplish this within one microsercie without having to make service to service api calls?

You have to add the EntityFrameworkCore project reference and module dependencies then add db connection strings to appsettings.json. this way you can inject the Repository to get data.

Hi,

Thanks, we fixed the problem. your ticket was refunded.

Showing 181 to 190 of 5950 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11