hi
We are using the <PackageReference Include="System.Linq.Dynamic.Core" Version="1.2.18" /> on 7.x
hi
Different units of work use different dbcontxt, so you have to put code in one unit of work.
hi
Method not found
Can you share some code/project to reproduce it? liming.ma@volosoft.com
hi
It seems the project still using the Sql Server.
You can try to search SqlServer keyword globally, then replace it to PostgreSQL
https://docs.abp.io/en/abp/latest/Entity-Framework-Core-PostgreSQL
hi
Please share with me a project that can reproduce the problem, Thanks liming.ma@volosoft.com
hi
Please remove UseDeveloperExceptionPage related code and catch the exception to see its code and message.
// if (env.IsDevelopment())
// {
// app.UseDeveloperExceptionPage();
// }
// else
// {
// app.UseErrorPage();
// app.UseHsts();
// }
app.Use(async (httpContext, func) =>
{
try
{
await func(httpContext);
}
catch (BusinessException e)
{
Console.WriteLine(e.Code);
throw;
}
});
hi
What the code of BusinessException?
Yes
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionDataSeeder.cs#L28
hi
. When a tenant admin is created as the default user I've noticed that they have ALL the permissions that the host does,
This is the default behavior, but you can change it by removing PermissionDataSeedContributor from the DI.
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionDataSeedContributor.cs#L35
when do I use the "Default & Public" checkboxes when creating a new role?
/// <summary>
/// A default role is automatically assigned to a new user
/// </summary>
public virtual bool IsDefault { get; set; }
/// <summary>
/// A static role can not be deleted/renamed
/// </summary>
public virtual bool IsStatic { get; set; }
/// <summary>
/// A user can see other user's public roles
/// </summary>
public virtual bool IsPublic { get; set; }
hi
Please add https://api.nuget.org/v3/index.json. to your nuget.config as well.
https://learn.microsoft.com/en-us/nuget/reference/nuget-config-file