Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Required permissions are not granted. At least one of these #5333


User avatar
0
jehadk created

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)
  • User Avatar
    0
    maliming created
    Support Team

    Please check if the currently accessed user is granted permission.

  • User Avatar
    0
    jehadk created

    <cite>maliming: </cite> Please check if the currently accessed user is granted permission.

    I am login as admin user see the attachment

  • User Avatar
    0
    jehadk created

    <cite>maliming: </cite> Please check if the currently accessed user is granted permission.

    Can you please check that I sent screenshot to you

  • User Avatar
    0
    maliming created
    Support Team

    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]