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. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
https://abp.io
GNU Lesser General Public License v3.0
13k stars 3.46k forks source link

Impersonate Users - Blazor WASM #9997

Open tvddev opened 3 years ago

tvddev commented 3 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 3 years ago

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

maliming commented 3 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 3 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 3 years ago

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

tvddev commented 3 years ago

Is there an update on this critical issue?

jkkrause commented 3 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 3 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 3 years ago

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

maliming commented 3 years ago

hi

Blazor wasm does not support this feature.

tvddev commented 3 years ago

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

maliming commented 3 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 2 years ago

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

tvddev commented 2 years ago

So why wait for microsoft?

maliming commented 2 years ago

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

a-a-k commented 2 years ago

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

maliming commented 2 years ago

Yes, but Blazor wasm does not support this.

a-a-k commented 2 years 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 2 years ago

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

https://commercial.abp.io/pricing

tvddev commented 2 years 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 9 months ago

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

maliming commented 9 months ago

hi

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

apiarysolutions commented 8 months ago

Any update now #18876 is done?

maliming commented 8 months ago

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