Hi,
ABP has an eshop microservice example, you can take a look:
https://github.com/abpframework/eShopOnAbp
Hi,
You can check this: https://support.abp.io/QA/Questions/3537/OpenIddict-WindowsCryptographicException-Access-is-denied
Hi,
Tip: Prefer to use the Authorize attribute wherever possible, since it is declarative & simple. Use IAuthorizationService if you need to conditionally check a permission and run a business code based on the permission check.
See: https://docs.abp.io/en/abp/latest/Authorization#iauthorizationservice
For complex scenarios, you need to manually check permissions
Hi,
No, it will not affect template engines
Hi,
Of course, you can apply a permission on it.
But I don't what UI are you using, here I assume UI is MVC.
Open your <YourProjectName>MenuContributor
class:
public class MyProjectNameMenuContributor : IMenuContributor
{
public async Task ConfigureMenuAsync(MenuConfigurationContext context)
{
//......
if (context.Menu.Name == StandardMenus.User)
{
var linkedAccount = context.Menu.GetMenuItemOrNull("Account.LinkedAccounts");
linkedAccount?.RequirePermissions("<Your permission name>");
}
}
}
Hi,
It's our design, but you can change it if you want.
TextTemplateConsts.MaxContentLength = int.MaxValue;
builder.Entity<TextTemplateContent>(b =>
{
b.Property(x => x.Content).HasColumnType("text").HasMaxLength(int.MaxValue);
});
dotnet ef migrations add Update_TextTemplateContent_Length
Hi,
Is this can help you? https://support.abp.io/QA/Questions/1672/Access-Token-Conflict-while-Integrating-with-Microsoft-Graph
The address specified 'System.String' is not valid as per HTTPS scheme. Please specify an https address for security reasons. If you want to test with http address, set the RequireHttps property on IDocumentRetriever to false. (Parameter 'address')