abpframework / abp

Open Source Web Application Framework for ASP.NET Core. Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. Provides the fundamental infrastructure, production-ready startup templates, application modules, UI themes, tooling, guides and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.31k stars 3.32k forks source link

Impersonate Users - Blazor WASM #9997

Open tvddev opened 2 years ago

tvddev commented 2 years ago

v4.4.2 Blazor WASM

User impersonation still needs to be released for Blazor WASM.

This will be easier to track than the previously Closed issue. #1082 .

tvddev commented 2 years ago

@maliming - i see 4.4 patch is 100% complete, any update on when this will be released?

maliming commented 2 years ago

hi @tvddev

I remembered something wrong, sorry for that. I solved the simulation problem of the Blazor Server. The Blazor WASM is still restricted, it can't simulate tenants/users.

cbogner85 commented 2 years ago

Hello,

I just upgraded to 4.4.3 and it seems to be still not implemented for MVC?

Guys, I really appreciate your work and I don't want to blame you, but the information policy regarding this feature is horrible :-( We are waiting for over a year now. Originally it was planned for 3.2, then 3.3,... now we are on 4.4. In August, it was promised to be "available this month". Now it's October and we still have no reliable information. :-(

We are all developers and we know that sometimes features delay, but please give us more information about the progress. It's an extremely important feature.

tvddev commented 2 years ago

@hikalkan - Can we get an update please, this is a really critical feature for us.

tvddev commented 2 years ago

Is there an update on this critical issue?

jkkrause commented 2 years ago

We've upgraded the CLI to 4.4.4 and are using ABP Commercial v5.0.0-rc.1

We can now see the new permissions to enable Tenant impersonation through the SaaS module when logged in as the host admin, and we can also see the Identity management permission to impersonate users both as a host and as a tenant admin.

However, applying these permissions to both the host admin and the tenant admin does not yield the menu items shown in the associated item linked to the OP of this thread.

@hikalkan @maliming is this feature still disabled/hidden for all editions? Or only hidden for v5? Any eta when this will be made available? If it works for MVC single tiered, why not just release that?

Thanks for your patience and effort in helping us all.

maliming commented 2 years ago

@jkkrause

https://github.com/abpio/abp-commercial-docs/pull/145 https://github.com/abpio/abp-commercial-docs/blob/impersonation-docs/en/modules/account/impersonation.md

tvddev commented 2 years ago

@maliming - Are you saying impersonation is available for Blazor WASM in v5.0 RC1?

maliming commented 2 years ago

hi

Blazor wasm does not support this feature.

tvddev commented 2 years ago

When will it be avaialable for Blazor WASM??, it's such a basic really important feature for SaaS.

maliming commented 2 years ago

This is a limitation of Blazor, and there is nothing we can do at the moment.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

tvddev commented 2 years ago

Is there an update/plan to fix this?

tvddev commented 2 years ago

If anyone is interested in doing this and getting paid for it, we would be keen to contribute/pay depending on how much.

tvddev commented 2 years ago

@maliming @hikalkan - Is there any progress on this?

maliming commented 2 years ago

hi

No progress at the moment, this is mostly Blazor WASM related.

tvddev commented 2 years ago

@maliming @hikalkan - Please can we have an update on when this will be available?

maliming commented 2 years ago

hi @tvddev There is no news. We are still limited by Blazor WASM.

tvddev commented 2 years ago

@maliming @hikalkan - Are you able to tell us what it is about Blazor WASM that limits this? Someone in the community may have an idea as to how to unblock this.

maliming commented 2 years ago

We cannot customize BlazorWASM's authentication components/services.

tvddev commented 2 years ago

There are lots of different ways to authenticate with Blazor; AAD, Google, standalone authentication, etc etc, what components/services can't you customise?

maliming commented 2 years ago

https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.webassemblyauthenticationservicecollectionextensions.addoidcauthentication?view=aspnetcore-6.0

maliming commented 1 year ago

https://github.com/dotnet/aspnetcore/issues/40764

tvddev commented 1 year ago

So why wait for microsoft?

maliming commented 1 year ago

We use Microsoft's framework, if it doesn't support we can't do anything.

a-a-k commented 1 year ago

@maliming is that impersonation feature available for commercial version only, right?

maliming commented 1 year ago

Yes, but Blazor wasm does not support this.

a-a-k commented 1 year ago

Yes, but Blazor wasm does not support this.

I understand, I'm talking about the feature itself. Thanks for such a flash answer :) Could you also clarify, is the commercial version source open or partially open?

maliming commented 1 year ago

The Business and Enterprise include the source code of all modules.

https://commercial.abp.io/pricing

tvddev commented 1 year ago

This is a major issue for any company doing SaaS.

If anyone wants to do this work we will contribute $$ we just cant sparenthe time right now.

tvddev commented 1 year ago

@hikalkan Any update on this now v7 is out?

maliming commented 1 year ago

hi @tvddev

Blazor wasm still not supported yet.

tvddev commented 1 year ago

@hikalkan @maliming Will this be supported for v7.1?, this issue is critical for SaaS products and has been ongoing for almost 4 years, can it be prioritised now?

maliming commented 1 year ago

hi

Since this is a limitation of blazor wasm, there is nothing we can do.

apiarysolutions commented 2 months ago

Is there any update on this now .Net version is released?

maliming commented 2 months ago

hi

I will check this again after adding the Blazor full stack web UI feature.

apiarysolutions commented 1 month ago

Any update now #18876 is done?

maliming commented 1 month ago

It still can't be achieved. We can't do anything.