Activities of "dhill"

Can you give some guidance on a good place to start interacting with the existing code?

Can we override any existing classes?

Hi Anjali

I see what you're saying but we need to apply permissions on a per folder and per file basis.

Yes that would be helpful.

Basically the goal is to reduce the number of clicks that a user has to do to change accounts across tenants.

So imagine a scenario where the user is on an invoices page and they want to enter invoices for one tenant and then quickly switch to another tenant and add invoices there as well.

The current navigation is kind of clicky and involves multiple steps to switch tenants.

The goal would be something that is a little bit more like say Gmail for example where you can switch back and forth with ease and few clicks.

And I understand that there are some technical challenges and limitations from what I initially asked.

Therefore with the goals that we have in mind are there any easy wins that we can implement as an alternative?

Is there any way we can streamline it or reduce the number of clicks? Any suggestions on how we can improve the user experience?

Basically can you think of any recommendations that we could apply in a reasonable fashion?

How are permissions mapped to File Management files and actions?

Hi maliming,

That last change you suggested was the solution. Everything appears to be working now.

Right now I have that code in OnApplicationInitialization and these settings in appsettings.json

"Azure": { "SignalR": { "Enabled": "true" } }

{ "Azure:SignalR:ConnectionString": "Endpoint=https://xxxxxxx.service.signalr.net;AccessKey=xxxxxxxxxx=;Version=1.0;" }

Getting this error after implementing as suggested.

This exception was originally thrown at this call stack: [External Code] AzureSignalRPoc.Blazor.AzureSignalRPocBlazorModule.OnApplicationInitialization.AnonymousMethod__16_0(Microsoft.AspNetCore.Http.HttpContext, Microsoft.AspNetCore.Http.RequestDelegate) in AzureSignalRPocBlazorModule.cs

public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
    var env = context.GetEnvironment();
    var app = context.GetApplicationBuilder();

    if (env.IsDevelopment())
    {
        app.UseDeveloperExceptionPage();
    }

    app.UseAbpRequestLocalization();

    if (!env.IsDevelopment())
    {
        app.UseErrorPage();
        app.UseHsts();
    }

    app.UseCorrelationId();
    app.UseAbpSecurityHeaders();
    app.UseStaticFiles();
    app.UseRouting();
    app.UseAuthentication();
    app.UseAbpOpenIddictValidation();

    if (MultiTenancyConsts.IsEnabled)
    {
        app.UseMultiTenancy();
    }

    app.Use(async (httpContext, next) =>
    {
        var authenticateResultFeature = httpContext.Features.Get<IAuthenticateResultFeature>();
        if (authenticateResultFeature != null && authenticateResultFeature.AuthenticateResult == null)
        {
            if (httpContext.User.Identity?.IsAuthenticated == true)
            {
                authenticateResultFeature.AuthenticateResult = AuthenticateResult.Success(new AuthenticationTicket(httpContext.User, httpContext.User.Identity.AuthenticationType!));
            }
        }

        await next(httpContext);
    });

    app.UseUnitOfWork();
    app.UseDynamicClaims();
    app.UseAuthorization();
    app.UseSwagger();
    app.UseAbpSwaggerUI(options =>
    {
        options.SwaggerEndpoint("/swagger/v1/swagger.json", "AzureSignalRPoc API");
    });
    app.UseAuditing();
    app.UseAbpSerilogEnrichers();
    app.UseConfiguredEndpoints();
}

The suite doesn't really respect custom code blocks. Especially the .Extended classes.

It would be best if those got ignored unless the file is completely missing.

Also unit tests really need a . Extended class

On Blazor Server

Issues arise when editing data: occasionally, changes to fields are not saved, and at times, modifications result in required fields being emptied.

After upgrading from 8.0.2 to 8.0.3 with Blazor Server project we get this error on startup.

System.TypeLoadException: 'Method 'ButtonStretchedLink' in type 'Blazorise.Bootstrap5.Bootstrap5ClassProvider' from assembly 'Blazorise.Bootstrap5, Version=1.3.2.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.'

Showing 31 to 40 of 42 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13