Hi,
you can try install dotnet 9 SDK and try again.
Hi,
I'm not sure, you can try sending an email to support.abp.io
Hi,
Could it lead to error on my project
No. Will not.
you can try adding a middleware logger to the current claims. for example:
app.Use(async (httpContext, next) =>
{
var logger = httpContext.RequestServices.GetRequiredService<ILogger<QaHttpApiHostModule>>();
var currentClaims = httpContext.RequestServices.GetRequiredService<ICurrentPrincipalAccessor>();
foreach (var claim in currentClaims.Principal.Claims)
{
logger.LogInformation($"Claim Type: {claim.Type}, Claim Value: {claim.Value}");
}
await next();
});
HI,
could you share a test project with me? i will check it. shiwei.liang@volosoft.com
Hi,
could you provider a test project? I will check it. my email is shiwei.liang@volosoft.com
there are many more lines.
could you provider a test project? i will check it. shiwei.liang@volosoft.com
If I set the application method to [AllowAnonymous], I van use postman to get a token, and receive a response. When I debug the Application method, the system does not decode the Token, resulting in the CurrentUser = NULL I do decode the Tenant info. This may be some ware between ABP framework migration from V3 to 4 to 5 to 6 to 7 to 8.3.3
I think this is the default behavior of ASPNETCore.
The new application has full access to the module can use all methods for all 12 entities. When I use the shell cmd : abp generate-proxy -t csharp -u https://localhost:44381/ only the "ApiParameters" proxies are added to the ClientProxies folder. I am unable to generate client proxies for a module application "Integration", only the host "ApiParameters" proxy. Is there a missing parameter?
you need to add -m
parameter
https://abp.io/docs/latest/cli#generate-proxy
Hi,
you can try Volo.FileManagement.Domain.Shared
module to Domain.Shared
project.
[DependsOn(
....
typeof(FileManagementDomainSharedModule)
)]
public class ....DomainSharedModule : AbpModule
you can create an intermediate table
public class SubordinateUser : Entity<Guid>
{
public Guid SuperiorUserId { get; set;}
public Guid UserId { get; set; }
}
User Creation: The primary user can create subordinate users under their account.
It's easy to do; you can create a user and add subordinate user data.
: The primary user can assign roles or permissions to these subordinate users, but only the permissions that they have.
you need to create a new permission modal to filter the superior user permissions.
you can refer to this: https://github.com/abpframework/abp/tree/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Web/Pages/AbpPermissionManagement
Ensure that the subordinate users cannot be granted permissions beyond what the primary user has.
you can override the PermissionAppService
service to check it.
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Application/Volo/Abp/PermissionManagement/PermissionAppService.cs#L138
public class MyPermissionAppService : PermissionAppService
{
public override async Task UpdateAsync(string providerName, string providerKey, UpdatePermissionsDto input)
{
//get the superior user permissions and check here.
// if provider name is `R`, means role, you need to check whether the subordinate users have this role.
}
}