hi
Can you try to use cli to download?
abp get-source Volo.Abp.LeptonXTheme.Pro
specify version
abp get-source Volo.Abp.LeptonXTheme.Pro --version 3.0.1
hi
The language texts are multiple tenancy. Different translation texts can be used between each tenant and host.
You can use abp CLI to translate your culture.
abp translate -c sr -r en
This command creates a file in the same folder, named abp-translation.json. Open this file in your favorite editor and fill the missing text values.
Backup
abp-translation.jsonfile.
Once you done the translation, use abp translate -a command to apply changes to the related files.
hi
Wanted to deploy the app as a window service with kestrel server. But facing following error when starting the server,
Are there any error logs on logs.txt and Win Event Viewer?
Thanks. I will update the framework code.
hi
Do you have any example that I can follow to implement API bearer token?
There are some examples on Google. It's simple
https://medium.com/@vndpal/how-to-implement-jwt-token-authentication-in-net-core-6-ab7f48470f5c https://www.c-sharpcorner.com/article/jwt-json-web-token-authentication-in-asp-net-core/ https://www.youtube.com/watch?v=mgeuh8k3I4g
You can test this in a new template project, share your project with me if you have any problems.
hi
Can you test this?
protected List<PermissionGrantInfoDto> GetChildPermissions(PermissionGroupDto permissionGroup, PermissionGrantInfoDto permission)
{
var childPermissions = new List<PermissionGrantInfoDto>();
GetChildPermissions(childPermissions, permissionGroup.Permissions, permission);
return childPermissions;
}
protected void GetChildPermissions(List<PermissionGrantInfoDto> allChildPermissions, List<PermissionGrantInfoDto> permissions, PermissionGrantInfoDto permission)
{
var childPermissions = permissions.Where(x => x.ParentName == permission.Name).ToList();
if (childPermissions.Count == 0)
{
return;
}
allChildPermissions.AddRange(childPermissions);
foreach (var childPermission in childPermissions)
{
GetChildPermissions(allChildPermissions, permissions, childPermission);
}
}
好的
hi
Is this a naming convention for the permissions that Abp enforces? If so, could you link us the documentation that defines this naming convention?
No. But this is a recommended approach.
you can consider changing this logic, I will also check it to see if we can enhance it.
protected List<PermissionGrantInfoDto> GetChildPermissions(PermissionGroupDto permissionGroup, PermissionGrantInfoDto permission)
{
return permissionGroup.Permissions.Where(x => x.Name.StartsWith(permission.Name)).ToList();
}
App logs:
YourWebHostProject/Logs/logs.txt
Suite logs: C:\Users\usernmae.abp\suite\logs
hi
You can create a class to wrap Queue. : )