Activities of "bozkan"

Yeap. When considerUow: false, it works!

What is the reason of this behavior? Should I give up on considerUow? But I need it, because I execute this cache update together with some database operation .

Hi maliming,

Thanks for the reply. The situation is:

using (CurrentTenant.Change(null))
{
    // GetAsync works on host! It gets cached item from host.
    var cachedClient = await _clientCache.GetAsync(identityClient.ClientId);

    cachedClient.Enabled = false;

    // But SetAsync does not work on host! It adds a new cached item under tenant folder on redis.
    // Instead of overwriting the item on host folder.
    await _clientCache.SetAsync(identityClient.ClientId, cachedClient, new DistributedCacheEntryOptions
    {
        AbsoluteExpirationRelativeToNow = _identityServerOptions.Caching.ClientStoreExpiration
    },
    considerUow: true);
}

Hi,

Is it possible to access host cache from tenant via IDistributedCache?

ps: I cannot use IgnoreMultiTenancyAttribute for the cached type, because it is Identity Server's type and cache for the type: IdentityServer4.Models.Client

Hi all,

It seems like the Emailing settings page is only visible in host and not in tenants. Is it possible to have the Emailing settings per tenant?

We can customize the LDAP service, but again we need to store the tenant based domain name setting somewhere. I think the current ldap login settings page is the best place for it, isn't it?

Hi maliming,

I don't have any official documentation right now, explaining that we should use domain name. Maybe it could be found after a deep research. But when I try ldap bind without the domain name (just the username itself) I get the following error:

Invalid Credentials. Invalid Credentials. Result: 49. Method: ldap_parse_result. Details: errorMessage: 80090308: LdapErr: DSID-0C090447, comment: AcceptSecurityContext error, data 52e, v3839 matchedMessage:

And when I search the error, I saw that many people resolve this error by appending the domain name to the user name when making ldap bind. And when I append the domain name, problem is solved.

Examples:

https://stackoverflow.com/a/52474797/ https://stackoverflow.com/a/52725355/ https://stackoverflow.com/a/53442129/ https://stackoverflow.com/a/56896250/ https://stackoverflow.com/a/60112692/ https://stackoverflow.com/a/31692694/ https://stackoverflow.com/a/31692694/

Hi maliming, thanks for the response. But I didn't get what you mean by saying domain\user is a good solution.

Active Directory requires domain name with user name, but abp's ldap settings page do not have any domain name parameter, so as of now abp's ldap login feature cannot be used properly at least with default settings capabilities (I know that we can override methods to normalize user names, but it should not be hard-coded, and also be stored tenant based). I think it would be great to have domain name setting added to ldap login settings page in the next versions. Do you have any plans for that.

We are trying to use LDAP login feature, and Active Directory requires the username with its domain name like "domain\user". But there is no "Domain name" setting in the page, as we would like to keep this ldap settings per tenant, we cannot add the domain name prefix to username with a hard-coded domain name like described in here: https://docs.abp.io/en/commercial/latest/modules/account/ldap#customize-built-in-services

So I think an additional setting for Domain name would be useful in here, to not hard-code it and keep it tenant-based via settings page. As the current settings page is missing it, now we have to add a custom settings page for the domain name. What are your thoughts? Is there any alternative solution?

Thanks.

  • ABP Framework version: v4.3.0
  • 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:"

As the following link states; https://support.abp.io/QA/Questions/858/How-can-I-create-a-new-angular-dashboard-widget-in-abpio-Documentation-is-only-for-Mvc chart.js is being loaded under the hood by ThemeSharedModule. But in our current project its version is v2.9.4. How can I update its version to a recent version?

Question

The documentation at https://docs.abp.io/en/abp/latest/UI/Angular/Component-Replacement says

You can replace some ABP components with your custom components.

I wonder what components are replacable exactly? Is there a list of replacable components/pages? Or how can I verify that a built-in component/page is replacable.

For instance, I wonder if the following UIs are replacable?

  • Organization Unit management page
  • Users detail page - Organization selection tab
  • User list page
Showing 31 to 40 of 54 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13