أنشطة "pierremih"

Hi,

We have an issue related to permissions management on our Blazor front.

How to reproduce :

  • Have a user connected with any permissions

  • Set a new role to the user with new permissions that grant access to a new menu, or the opposite (remove access to functions).

  • Have the user refresh the page. Issue 1 : permissions are not updated and does not have access to the new menus we granted him access to. Issue 2 : If permissions were removed, user can still call APIs that are locked behind said permissions.

  • Have the user disconnect and reconnect. Issue 1 persists (side menus are still hidden). I think we opened a ticket previously for this issue. It was solved in a preview version of LeptonX, which was removed from the NuGet repository. We are now waiting for the final fix that comes out with ABP 7.3. Issue 2 is solved.

  • ABP Framework version: v7.2.3

  • UI type: Blazor

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): Idenity Server Separated

  • Exception message and stack trace:

سؤال

Hi,

We have issues using impersonation on our Blazor App (LeptonX Theme). When clicking the impersonate button "Connectez-vous avec cet utilisateur", the user gets redirected to the auth server and gets a 403 Error "Require AbpIdentity.Users.Impersonation permission to impersonate user!". We have another permissions-related issue that I'm about to create, but I think they are separate.

We would like to investigate this.

  • ABP Framework version: v7.2.3
  • UI type: Blazor (+ Angular)
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Identity Server Separated
سؤال

Hi,

I am creating this ticket as a follow-up to a previous ticket. https://support.abp.io/QA/Questions/4744/Blazor-LeptonX-Side-menu-missing We couldn't fix that issue completely before and thought updating to 7.2 would fix it, but it didn't.

The side menu is missing on our LeptonX Blazor application.

Upon connecting, the menu does not show. Disconnecting and reconnecting does not make the menu appear. After several minutes, refreshing the page makes the menu appear.

The menu items are locked behind permissions that require the user to be connected.

Can you help us investigate and fix this issue?

إجابة

The issue seems to be solved. We have another related issue that should (most probably) be solved in 7.2. Here is the fix we are waiting for : https://github.com/abpframework/abp/pull/15876

إجابة

We have succesfully updated to 7.1. We will come back to you after testing this through.

Hi maliming, We noticed the fix on github. https://github.com/abpframework/abp/pull/16057 Today I updated my ABP CLI using abp cli update and updated my project using abp update and it updated my LeptonX packages to 7.1 again. Did the patch not come out?

Thank you Good luck with that 💪

I am using ABP CLI 7.1.0

Thank you this solved the current issue. ABP CLI however is still trying to update them to 7.0.3, which we can bypass by not updating our project or overriding the version after each update.

Hi,

We updated our project from ABP 7.0.0 to ABP 7.1.0 using ABP CLI (which was updated to 7.1.0 prior to that). ABP CLI seems to have updated the Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX package to 7.0.3 while only 2.2.0 is available on the Nuget repositories. The same goes for Volo.Abp.AspNetCore.Components.Server.LeptonXTheme . These two lines can be seen in ABP CLI's update output log :

Updating package "Volo.Abp.AspNetCore.Components.Server.LeptonXTheme" from v2.0.4 to v7.0.3.
Updating package "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" from v2.0.4 to v7.0.3.

Because of that we cannot upgrade to 7.1.0 which supposedly would solve one of our other issues. Is there a known solution?

  • ABP Framework version: v7.0.0 -> v7.1.0
  • UI type: Blazor
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:

Severity Code Description Project File Line Suppression State Error NU1102 Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX with version (>= 7.0.3)

  • Found 54 version(s) in ABP Commercial NuGet Source [ Nearest version: 2.2.0-preview20230323 ]
  • Found 0 version(s) in Microsoft Visual Studio Offline Packages
  • Found 0 version(s) in nuget.org ConfigurateurClient.Admin.Blazor C:\Users\p-mih\source\repos\ConfigurationClient\aspnet-core\src\ConfigurateurClient.Admin.Blazor\ConfigurateurClient.Admin.Blazor.csproj 1

Severity Code Description Project File Line Suppression State Error NU1102 Unable to find package Volo.Abp.AspNetCore.Components.Server.LeptonXTheme with version (>= 7.0.3)

  • Found 54 version(s) in ABP Commercial NuGet Source [ Nearest version: 2.2.0-preview20230323 ]
  • Found 0 version(s) in Microsoft Visual Studio Offline Packages
  • Found 0 version(s) in nuget.org ConfigurateurClient.Admin.Blazor C:\Users\p-mih\source\repos\ConfigurationClient\aspnet-core\src\ConfigurateurClient.Admin.Blazor\ConfigurateurClient.Admin.Blazor.csproj 1
  • Steps to reproduce the issue:"
عرض 11 الي 20 من 38 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11