Open Closed

Tooltip "You do not have permission to perform any action" Appears After Upgrade to ABP 9.2.0 #9597


User avatar
0
jayjack07 created

Hello, We are using a Blazor MAUI Hybrid app with a backend based on the microservices template, including an Auth Server. However, since upgrading to ABP 9.2.0, we’ve encountered a new issue:

Whenever we hover over an EntityAction button in a DataGrid, a tooltip appears with the message: “You do not have permission to perform any action.” This happens even when the user does have the necessary permissions.

The behavior is observed across:

-Our custom pages with DataGrids -Built-in ABP pages (e.g., Identity > Users) -CMS Kit Blog management page

Additional observations:

-The tooltip doesn't always appear immediately, but it does reappear if we refresh the page. -If we navigate away from the page and come back, the tooltip message does not appear. -It feels like the tooltip is triggered before permissions are fully resolved or cached.

Is this a known issue introduced in 9.2.0? Is there a workaround or recommended way to suppress or fix this tooltip behavior?

Thank you for your help!


5 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent

    This tooltip issue ("You do not have permission to perform any action") after upgrading to ABP 9.2.0 is a known behavioral change related to permission checks in the Blazor UI's DataGrid and EntityAction components. In recent ABP versions, the framework shows this tooltip when no visible actions are available to the user due to permission restrictions.

    However, in some cases, this tooltip may appear prematurely—before permissions are fully resolved—especially after a page refresh or initial load. This is a side effect of how permission checks and UI rendering are handled in the new version.

    Workaround / Recommendations

    • This tooltip is triggered when all actions in the EntityAction group are hidden (typically due to permission checks).
    • If your users have the correct permissions but still see this tooltip, it may be due to asynchronous permission resolution or caching delays.
    • As a workaround, you can explicitly control the visibility of actions using the Visible property and ensure permission checks are completed before rendering the DataGrid or EntityAction components.

    Example:

    new EntityAction<MyEntity>(
        "Edit",
        L["Edit"],
        visible: context => PermissionChecker.IsGrantedAsync("MyPermissionName").Result // or use async pattern properly
    )
    
    • If you are using custom actions, ensure that the Visible property is set based on the user's permissions and that permission checks are not delayed.

    • If the issue persists on built-in pages, it is likely a framework-level behavior. You can monitor the official migration guide and GitHub issues for updates or patches:

    Currently, there is no official configuration to suppress this tooltip globally, but you can override the tooltip text or logic in your custom components if needed.

    If this behavior is blocking your users, consider reporting it on the ABP GitHub repository or support channels, as it may be addressed in a future patch.

    Sources:


    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    jayjack07 created

    So just to confirm — there's currently no workaround available for built-in pages like the Identity > Users page or the CMS Kit Blog page?

    That means, for now, if we want to hide the tooltip ("You do not have permission to perform any action."), our only option is to suppress it with CSS or JavaScript?

    Let me know if there’s a better supported approach, or if this behavior is expected to change in a future patch.

    Thanks!

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @jayjack07

    I will check and fix it in next 9.2 patch version.

    Thanks.

  • User Avatar
    0
    jayjack07 created

    okay thank you, we will wait for an update, have a good day!

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Thanks

    You can override the EntityActions component before the new patch version.

    See https://github.com/abpframework/abp/pull/23291

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 10, 2025, 06:30