hi
Error is "UnAuthorized"
Please share the full logs.txt. Include the identity model and OpenIddict logs.
https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems
Thanks. liming.ma@volosoft.com
hi
You can use IPermissionDataSeeder to grant permissions to admin role.
var multiTenancySide = CurrentTenant.GetMultiTenancySide();
var permissionNames = (await PermissionDefinitionManager.GetPermissionsAsync())
.Where(p => p.MultiTenancySide.HasFlag(multiTenancySide))
.Where(p => !p.Providers.Any() || p.Providers.Contains(RolePermissionValueProvider.ProviderName))
.Select(p => p.Name)
.ToArray();
await PermissionDataSeeder.SeedAsync(
RolePermissionValueProvider.ProviderName,
"admin",
permissionNames,
tenantId
);
https://github.com/abpframework/abp/blob/rel-9.0/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionDataSeedContributor.cs#L28-L40
https://github.com/abpframework/abp/blob/rel-9.0/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/IPermissionDataSeeder.cs#L7
Yes, I will update the template code.
Thanks.
hi sinancondo
You can try running a Redis server in a local Docker container.
docker run -p 6379:6379 --name redis -d redis:alpine
hi sinancondo
Can you share debug logs that use the local Redis server?
liming.ma@volosoft.com
Thanks.
hi
There is no service named IPermissionGrantManager in the ABP framework.
If you want to check a user's permissions, you can use IPermissionChecker
Thanks.
hi
Can you share full debug logs?
https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems
Thanks.
hi
Can you share the class code of AssessmentFileColumnDto?
Thanks.
hi
I will check your steps. Thanks.