Activities of "gterdem"

I am not familiar with tye build internals but it may be related to context. You may try to put tye.yaml under the build folder and retry.

We also have image build scripts under the build folder.

This is not related to Identity Management but OpenId provider (authserver). Your authentication server should implement functionality about Login with this user. And then, you can use that forged token to signin the user etc.

This is a custom grant added by our team for impersonation functionality. If you are using a 3rd party openid provider (authentication server) it may not work at all since it is not a standart flow.

If your team is developing the auth-server, you may contact with them about integrating custom flow. Otherwise, you need to contact with the openid-provider if they provide impersonation related funtionality or not.

Answer

This subject seems quite tied to your business logic. There are some cases to ponder upon:

  • An entity can belong to a single organization unit or multiple organization units since a user may be a member of multiple organization units.
  • The organization unit code can be set manually or can be automatically set for the entity when saving that increases complexity.
  • EfCore global filters do not allow complex queries especially when multiple organization units are involved.
  • Involving roles completely increase the complexity even more.

Also using intentions may differ. Like, you may want to use the Organization Units as privileges to access data (like authorization filters) or use them only for data filtering.

I'll spend some more time on it and pick a scenario for a community post.

I sent a PR. You can examine it.

You had missing module dependencies, extra db-migrator configurations and MySql db configuration for the specific dbcontext:

Configure<AbpDbContextOptions>(options =>
        {
            /* The main point to change your DBMS.
             * See also MultipleDbContextDemoDbContextFactory for EF Core tooling. */
            options.Configure<MySqlAppDbContext>(opt =>
            {
                opt.UseMySQL();
            });
        });

Check https://docs.abp.io/en/abp/latest/Entity-Framework-Core#abpdbcontextoptions for more information.

There is also docker-compose file to run the mysql in containers and the appsettings configurations are done based on that. So, you can also just run that.

Can you email to galip.erdem@volosoft.com about your available days/hours for a remote session?

Saas microservice located in the microservice template is a layered application like any and you can customize this service as in the article to extend the tenant management.

We don't have any samples for this specific case.

Please share the problems you come across while following the article with us or the author of the article so that we can help better.

Do you get errors when migrating the database because of fluent API configuration?

Can you explain in details about the problem you are having?

I create new module with command abp new XXX.XXXX.XXXXX -t module-pro -csf --no-ui -dbms PostgreSQL -v 4.4.4

Module templates and microservice templates are different. You should follow https://docs.abp.io/en/commercial/6.0/startup-templates/microservice/add-microservice guide to add a new microservice to your microservice solution.

Try the guide above and let me know if you still have problems.

I have removed the link, please don't share your commercial application in public repositories. Please change your repository visibility to private.

Here is a community post about how to configure multiple databases in a single application: https://community.abp.io/posts/configuring-multiple-dbcontexts-in-an-abp-framework-project-uoz5is3o

Showing 241 to 250 of 867 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54