Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "SelfSwapAdmin"

ASP.NET Zero 10.2 Angular 10/.NET Core 5

Earlier today upon testing it for the first time in my application, I discovered that 2FA is not working. The exception “Security code cannot be sent!” is being thrown by TokenAuthController due to the CacheItem being null after the call to the CacheManager. Upon researching this I discovered that the problem was originally reported earlier this year on a 10. 0 Angular/Core solution (https://support.aspnetzero.com/QA/Questions/9970/Two-factor-code-caching). The problem was acknowledged as a bug and supposedly fixed in #3754 which was closed on February 2, 2021 to be included in 10. 5. It was recommended to the original submitter to apply the changes of #3754 to fix the problem on their 10 solution. I just carefully applied those changes myself to my 10. 2 solution, but it has not corrected the problem so far of the null CacheItem.

I see there was some backtracking of earlier changes in the final commit. It appeared to me that the final change set in #3754 was incomplete or invalid as there was an import added into the send-two-factor-code.component.ts for the validate-two-factor-code.component.ts, but is unreferenced and unused there. It was used and an earlier change set that was backtracked. I don't if I have something wrong or not, but I think the solution that was posted in GitHub is incomplete or confusing at least. I really need to get this working ASAP without spending a lot more additional time on it. I have attached Git diff screenshots of all my changes. What is wrong or missing? Is there anything else I need to do or specific ways to test this while running in my development environment? My app logs in fine with 2FA disabled and these changes below in effect. Thank you.

ASP.NET Zero 10.2 Angular 10/.NET Core 5

I have multitenancy enabled.

For our site, each new user registering from the login page will create a new tenancy. This first user will be a power user that can add additional users for that tenancy which share the subscription and tenant data.

I followed this procedure to have users login by unique email address: https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Core-Angular-Sign-In-Without-Specifying-Tenant

I am disabling all places where the standard UI allows the display/switching of tenants. We don't want our users to see any of that.

I am just testing the standard "Create account" from the login page. Why does it automatically assign new users created there to the Default tenant? What is the most appropriate way to change the system so that it creates a new tenant for that user instead? Thank you.

ASP.NET Zero 10.2 Angular 10/.NET Core 5

I am building a mutli-tenant SAAS. A "SiteAdmin" (No tenant) will have access to everything including custom app lookup tables etc which span tenancy.

Users will be able to self-suscribe to a free subscription level which would grant them a TenantAdmin role that has limited admin scope (like adding additional users within the tenancy) and also a StandardUser role which gives access to the free functionality.

When a subscription is upgraded to a paid version, or the SiteAdmin grants access to a feature set, an additional role or roles would be assigned to the set of tenant users in a tenancy.

Is there a recommended approach to templating these role-permission sets so that they can be easily added?

ASP.NET Zero 10.2 Angular 10/.NET Core 5

I am using the "Load Entity from Database" feature in Power Tools to do a database-first implementation. It is going well but now I need to do something fairly tricky related to cross-tenant transactions. I need to be able debit any tenant's Account table with an amount and credit any other tenant's Account table with that amount. There are no predetermined and fixed relationships between any tenants. They cannot be assigned to a mutually exclusive organization. We are using a single database for now if not indefinitely. I like my service method being called from Tenant A to be able to insert rows into Tenant B's Account. The Account table is actually just a transation log of debits and credits, normally within a Tenant. For this one feature of our app we need to interact between tenants.

I am the process of prototyping this code now. Do you have a recommended approach for this? I am curious why the "Multi Tenancy" box in Power Tools allows the selection of "Host" or of "Tenant" or of both "Host" and "Tenant". What is the significance of that? What does that accomplish? I am currently using both "Host" only and "Tenant" only in my app.

Product Version: 10.2.0 Product Type: Angular 10.NET Core 5

We need to have the GetAll() method in one of our custom components initialized from the "Load Entity from Database" code-gen automatically refresh using a configurable interval. What is the best way to go about this? Is there an example somewhere we can look at? Thank you!

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?
  • What is your product type (Angular or MVC)?
  • What is product framework type (.net framework or .net core)?

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?
Showing 1 to 6 of 6 entries