Attività di "chris.tune@gmail.com"

  • ABP Framework version: v5.2
  • UI type: Angular /
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I have a module solution which has all the hosts such as Unified, API host etc. I'm a bit confused as to where I add the Migrations for new entities as it mentions using unified, but If I'm using this as a module on an angular app OR other where should these be?

Cheers Chris

Domanda
  • ABP Framework version: v5.1
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): Angular Microservices.

Hi I'm looking to simplify the permission and roles for our SaaS build on the commercial framework.

At the moment we seed the roles and permission when we set up a tenant. While this is good for enterprise implementation I want to reduce this down so we can offer a simple UI.

Have a static set of roles and do not allow editing of these roles or role permissions. Is there a way of hiding a role, for example, a Super User who can change all the configurations, BUT not have this visible to other users with a lower role? Removing the seeded admin user when we create a tenant and create one for the user which signed up.

For example I want to create:

  • Super User (access to all features) - HIDDEN to all other users.
  • Administrator (access to admin features)
  • Employee (basic user)

Cheer for the advice. Chris

  • ABP Framework version: v5.1.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi, I'm trying to follow the article for extending the Angular UI but I can't get it working at all. https://docs.abp.io/en/abp/latest/UI/Angular/Page-Toolbar-Extensions

It cant find the right imports and I'm wondering if the article is out of date?

Is there a current sample that shows adding a toolbar component?

Cheers Chris

  • ABP Framework version: v5.1.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi,

We are using ELSA workflows in our ABP project and the latest version of ELSA is using Automapper 11. This causes exceptions when running the abp project:

: Method not found: 'Void AutoMapper.IMemberConfigurationExpression`3.Ignore()'.

Is there a plan to upgrade the Automapper version in ABP or is there a workaround that can be used?

Thanks Chris

Hi

This is more of a design question, and I was hoping there would be some sample code?

**1. How should you look up a user in a microservice? **

For example, I want to choose a user from a list

or

I want to check some aspects of a user's details in an app service.

Currently we have a local table with users, which is synchronized through ETOs (e.g. EntityCreatedEto) We then use this local repository for our queries.

I noticed there is a UserLookupService that is used in CMS kit, but I can't seem to get this working in a microservice.

I'm not sure of the best approach.

**2. How should we add users from a microservice? **

For example, in a workflow microservice, the user has entered an email of someone to assign a task,

This user is not in the system yet so we want to invite/create user I'm assuming this is a standard inter-service communication to the identity service?

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.1.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Microservices with angular
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi We've noticed that the application configuration call is taking a while on our app.

/api/abp/application-configuration

It's only loaded on the first load and a few other instances but it does make a significant impact on our load time. We have redis enable.

Is there any way this can be speeded up?

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.1.3
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi

I'm using a library called AspNet.Security.OAuth.Providers to provide OAuth to a test abp solution. These are just specific OAuth extensions so it's easier to set up external logins.

For example I have a **non **abp MVC solution that uses:

.AddGitHub(options => { options.ClientId = Configuration["GitHub:ClientId"]; options.ClientSecret = Configuration["GitHub:ClientSecret"]; options.EnterpriseDomain = Configuration["GitHub:EnterpriseDomain"]; options.Scope.Add("user:email"); options.SaveTokens = true; });

When I use HttpContext.GetTokenAsync I get the access token which I can then use to call the github api. e.g. var accessToken = await HttpContext.GetTokenAsync("GitHub", "access_token");

When running the exact same code in ABP.IO the access token is null. I'm not sure if this is something to do with the auth implementation, but it would be great to be able to use the savetokens = true and access that token.

Thanks Chris

  • ABP Framework version: v4.4.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi we are getting an error with our Auth server using the microservices model.

We haven't figured out how to reproduce this, but once it occurs the only way to fix it is by a restart the service, something that's not sustainable.

It's the standards Microservices solution from a previous version, but we recently upgraded to 4.4.4 I'm not sure if this has anything to do with it.

Stack Trace Extract. System.Exception: Exception of type 'System.Exception' was thrown.\n at x973ltTuyr0iNFtkVC2.uoxoRDTMlI1EVNyvYXa.O5QlTBeshI(Int32 )\n at System.Linq.Enumerable.SelectArrayIterator2.MoveNext()\n at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable`1 collection)\n at IdentityServer4.ResponseHandling.DiscoveryResponseGenerator.CreateDiscoveryDocumentAsync(String baseUrl, String issuerUri)\n at IdentityServer4.Endpoints.DiscoveryEndpoint.ProcessAsync(HttpContext context)\n at IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events, IBackChannelLogoutService backChannelLogoutService)

Hi

I'm looking for the best practice to add a background worker to a multitenant microservices architecture. Our background job is part of a service which goes through a collection of entities and processes them, accross each tenant.

In terms of processing I was thinking using (_currentTenant.Change(TenantId)) would be the best way. BUT we need the tenants, which is part of the SaaS service.

Get could potentially turn off the tenant filter. using (_dataFilter.Disable<IMultiTenant>()) We could get the list of tenants from the client service and use change. We could add these to a shared project which has access to everything, for example ITenantRepository

Any recomendations for teh prefered way would be great.

Thanks

Hi

Our devs have created a react app which connects to ABP.IO using identity server. We are using subdomains to identity each tenant.

site1.oursite.com site2.oursite.com

When a user logs in to site1 the token is returned and used from the app If we then switch to site2 we login again and get a token for that as well.

Then if we switch between the sites the token endpoint returns the same token

We are using /connect/token to get the token and supplying the redirect _url etc. But should we be sending something else to identity the tenant, such as a header or query string?

Thanks

1 - 10 di 10
Made with ❤️ on ABP v8.2.0-preview Updated on marzo 25, 2024, 15:11