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

Activities of "thomas"

Hello,

Wehen i Create a new Tenant I get an Error: First & Lastname is missing but there is no Input for that:

Is this a Bug in the Framework?

Is there also a Angular2 Demo available?

best regards

Hi there,

Deploying the server to a Azure Web App is working fine - can use the Swagger UI and so on :) But how to deploy the Client App to the same Azure Web App?

Directly via the Deploy menu from Visual Studio will end up in a HTTP Error 502.5 - Process Failure

Thank you Kind regards, Thomas

Question

Hy Folks,

We just downloaded the Core Version but we think the angular Version would fit beeter our needs. Do you have an ideas when the core / Angular 2 Version will be released/become stable state? Is it possible to use the preview Verison from Github for development or is it better to wait?

best regards Thomas

Answer

Hi,

This was also in my mind but the problem is, that the locations will be defined dynamically during runtime. Means, the client will get an application with one location setup by us. If he requests a additional location, we will just add an additional entry in the location table.

With your proposal we have to modify after every new location the source code to extend the permissions. :-(

Is there a another way?

Thank you

Question

Hi,

Setup is for Multi-Tenancy: I´m trying to remove the tenant from the login view, so that the user only need to insert email and password. The application should know the tenant by the user-email.

I tried the following steps:

  1. get all users
  2. find user by email
  3. if ONE user was found, continue with login function
private async Task<AbpUserManager<Tenant, Role, User>.AbpLoginResult> GetLoginResultAsync(string usernameOrEmailAddress, string password, string tenancyName)
        {
            // try to get all user
            string sqlCommand = "SELECT * FROM USER";
            ObjectQuery<User> query = new ObjectQuery<User>(sqlCommand, context , MergeOption.NoTracking);

            var loginResult = await _userManager.LoginAsync(usernameOrEmailAddress, password, tenancyName);
            
          //....Login-Code

The problem is, that ObjectQuery needs an context object - from where I can use the context object?

Is there a better way to implement this function/way?

Thanks, Thomas

hi,

thank you - working :)

Hi all,

We want to use the OnlineClient/OnlineClientManager to prevent a user from multiplie login from different machines.

How to implement the OnlineClient/OnlineClientManager to check if the same user is already logged in and popup a message to - "Current user is already logged in"

Thank you Kind regards, Thomas

Question

Hi,

Is it possible to link the current authorization concept with an additional table? Currently (single database - without tenantcy) has permissions, roles and user. We want to introduce a new table called location and link it with the current authorization structure.

yellow marked tables are already available in the initial framework. [attachment=0:2o7jns6y]Structure.png[/attachment:2o7jns6y]

The authorization concept with the new table location will provide the following possibility: UserA -- PermissionA -- LocationA UserA -- PermissionB -- LocationA UserA -- PermissionB -- LocationB UserA -- PermissionC -- LocationC UserB -- PermissionA -- LocationB

How can we realize this in the current ABP/netZero framework?

Currently the framework is checking the permission string. With our scenario we need and additional parameter: permission and location

Thank you Best regards, Thomas

Showing 1 to 8 of 8 entries