Display below error when trying to access to the App layer Required permissions are not granted. At least one of these permissions must be granted: Tenants I Disabled the below flage public const bool MultiTenancyEnabled = false;
//and create below permission public class AppPageNames { public static class Tenant { public const string UnderWriting = "UnderWriting"; } }
//and create AppPermissions UnderWriting public static class AppPermissions { public const string Pages_Tenant_UnderWriting = "Pages.Tenant.UnderWriting"; } //and create var UnderWriteing = pages.CreateChildPermission(AppPermissions.Pages_Tenant_UnderWriting, L("UnderWriting"), multiTenancySides: MultiTenancySides.Tenant);
// add below to the xxxxnAppService [AbpAuthorize(AppPermissions.Pages_Tenant_UnderWriting)]
4 Answer(s)
-
0
Please check if the currently accessed user is granted permission.
-
0
-
0
<cite>maliming: </cite> Please check if the currently accessed user is granted permission.
Can you please check that I sent screenshot to you
-
0
If you can reproduce this problem, please send me a copy of the project to see the screenshot is not very intuitive.
Email:[email protected]