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:
17 Answer(s)
-
0
hi
You can try these PRs
Blazor WASM https://github.com/abpframework/abp/pull/16602
MVC & Blazor Server https://github.com/abpframework/abp/pull/16504
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi @maliming but how can I use a PR of ABP Framework within my Abp Commercial Solution in which ABP is referenced via nuget package?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
That is, I should clone ABP (framework) with the indicated PR and then from the ABP Commercial Solution remove the ABP packages and point directly to the local version DLLs built by the PR. Is it correct?
The ABP Commercial PRO modules, of which I don't have the sources, that point to ABP's nuget packages will have no problems?
Thanks for your answer
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
-
0
I'll try, but I think I'll get a warning like https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs0436?f1url=%3FappId%3Droslyn%26k%3Dk(CS0436)
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi Maliming, Just to clarify that Roberto is not part of our team and that he is asking about a separate problem in this thread. We are getting notified for it and it is confusing. I don't think we need to ask Roberto to create a separate issue but I will leave the decision up to you.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
The
ApplicationConfigurationDtoCacheAbsoluteExpirationofAbpAspNetCoreMvcClientCacheOptionsis 300 seconds by default.You can consider changing it to shorter. eg: 3 seconds.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
