Activities of "alper"

When you put a breakpoint in CreateAsync method, do you see it comes inside the method? I want to ensure that you successfully overrided the method.


you may also use Fleunt Validation https://docs.abp.io/en/abp/latest/FluentValidation

do you see it in Swagger UI? here's a sample controller

    [RemoteService(Name = "AbpIdentity")]
    [Area("identity")]
    [ControllerName("User")]
    [Route("api/identity/users")]
    public class IdentityUserController : AbpController, IIdentityUserAppService
    {
        [HttpGet]
        [Route("{id}")]
        public virtual Task<IdentityUserDto> GetAsync(Guid id)
        {
            return UserAppService.GetAsync(id);
        }
    }
    

Also see how you can add AbpClaimsPrincipalContributor https://github.com/abpframework/abp/issues/8073#issuecomment-799999030

You can set custom claim values for a user. See https://docs.abp.io/en/commercial/latest/modules/identity#user-claims

Answer

it uses SettingProvider to get the configuration

See the following links:

  1. https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/EmailSenderConfiguration.cs
  2. https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingProvider.cs
  3. https://docs.abp.io/en/abp/latest/Modules/Setting-Management

Organization Unit data is not included in the claims. you can include it manually by writing your custom UserClaimsPrincipalFactory See https://github.com/abpframework/abp/issues/2614#issuecomment-575090708

by the way you can set your AbpLicenseCode, nobody can use it without logging into abp.io via ABP CLI.

Offline License Check is always being performed. Online license check is being performed when you are debugging or in Development environment.

you can use Settings to store UserAccessControl

OneTimeRunner.Run(() =>
{
     AbpPermissionManagementDbProperties.DbTablePrefix = "Abc"
});
Showing 841 to 850 of 1868 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56