Activities of "maliming"

hi

Undefined feature: LeptonManagement.Enable

Can you test your code with a brand new database and redis?

hi

You need to enable IsDynamicPermissionStoreEnabled & SaveStaticPermissionsToDatabase in every project.

hi

Have you enabled the Dynamic Permission feature?

https://abp.io/support/questions/5671/Generate-Permission-Automatically-from-external-service#answer-3a0d4bfb-8d49-dcad-8e23-50b633870090

Sorry this option is available on 8.2

https://github.com/abpframework/abp/pull/19133

You can try this: https://abp.io/support/questions/6741/Exception-in-OpenIdDict-TokenCleanupBackgroundWorker-with-Oracle-Devart-Driver-Transaction-isolation-level-RepeatableRead-not-supported#answer-3a10f6b7-4213-43ee-ed36-b567c77fc084

hi

You'd better do it the standard way, or you might have problems with microservices.

hi

the ClientProxyApiDescriptionFinder property of the class which is coming as null

Have you depended on the AbpHttpClientModule?

[DependsOn(typeof(AbpHttpClientModule))]

If you can share a project, we will confirm the problem as soon as possible. : )

hi

You can use IPermissionDefinitionManager to get all permission definitions.

hi

I will ask our angular team.

hi

Try this

@using AbpSolution1.Books
@using AbpSolution1.Permissions
@using Microsoft.AspNetCore.Authorization
@using Volo.Abp.AspNetCore.Components.Web.Security
@inherits Volo.Abp.AspNetCore.Components.AbpComponentBase
@inject IBooksAppService BooksAppService
@inject ApplicationConfigurationChangedService ApplicationConfigurationChangedService

@if(IsAuthorized)
{
    if (IsAnyBook)
    {
        <div class="bg-success w-100 d-flex justify-content-center align-items-center h-100">
            <b class="text-dark">
                Books available
            </b>
        </div>
    }
    else
    {
        <div class="bg-warning w-100 d-flex justify-content-center align-items-center h-100">
            <b class="text-dark">
                No Books
            </b>
        </div>
    }
}
else
{
     <div class="bg-danger w-100 d-flex justify-content-center align-items-center h-100">
        <b class="text-dark">
            Not Authorized
        </b>
    </div>
}

@code {

    private bool IsAuthorized { get; set; } = false;

    private bool IsAnyBook { get; set; } = false;

    private async Task LoadBooks()
    {
        try
        {
            GetBooksInput input = new GetBooksInput();
            var books = await BooksAppService.GetListAsync(input);
            IsAnyBook = books.Items.Any();
        }
        catch(Exception ex)
        {
            await HandleErrorAsync(ex);
            Console.WriteLine(ex.Message);
        }
    }

    protected override async Task OnInitializedAsync()
    {
        await base.OnInitializedAsync();

        ApplicationConfigurationChangedService.Changed += ApplicationConfigurationChanged;

        await InitComponentAsync();
    }

    private async Task InitComponentAsync()
    {
        var isAutheticated = CurrentUser.IsAuthenticated;
        IsAuthorized = await AuthorizationService.IsGrantedAsync(AbpSolution1Permissions.Books.Default);

        if (isAutheticated && IsAuthorized)
        {
            await LoadBooks();
        }
    }

    private async void ApplicationConfigurationChanged()
    {
        await InitComponentAsync();
        await InvokeAsync(StateHasChanged);
    }

}

hi

Where can I report BUGS directly for quality improvement of ABP STUDIO now on version 0.7.6 with many of the same issues as its predecessors?

https://abp.io/support/questions/6416/ABP-Studio-Bugs--Issues

Thanks.

Showing 1091 to 1100 of 8483 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56