Starts in:
0 DAY
0 HR
31 MIN
23 SEC
Starts in:
0 D
0 H
31 M
23 S

Activities of "csykes"

Hi csykes,

Can you share a screenshot from [dbo].[AbpPermissionGrants] for this user only?

Thank you, Anjali

I'm not able to replicate what you are saying. I log in as admin, and then impersonate the user that has the recruitingcoach role. I am then logged in as the recruiting coach, go to Administration > Identity Mangement > Users and try to impersonate another user, but that is when I get the blank list of options.

This also doesn't work when logging in as the recruitingcoach and then trying to impersonate another user.

  • ABP Framework version: v7.0.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

We created a non-public role within our app and only gave it the Identity Management User Impersonation permission. We also followed the steps here to enable the impersonation feature.

With this, we used to be able to login as admin, impersonate a user that was assigned this role, and impersonate any other user. Now we are just getting a blank list of options when clicking on a user we want to impersonate.

We haven't upgraded/downgraded to any other version of ABP so not sure why it no longer works.

  • ABP Framework version: v7.0.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Blazor Server Tiered
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

We have a Blazor Server application that uses Azure Active Directory OpenId for user registration and login:

When the user registers for the first time, they receive this email:

If they click the link, they are taken back to the application and an "Invalid token" error is shown:

We don't want our new users to receive this email. How can we stop it from being sent?

Hi,

Yes, there is no Empty layout for Blazor, but it's easy to do yourself.

For example:

You can remove the components you want

EmptyLayout.razor

@inherits LayoutComponentBase 
@using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.Common 
@using Volo.Abp.Ui.Branding 
@using Volo.Abp.BlazoriseUI.Components 
@using Volo.Abp.AspNetCore.Components.Web.Theming.Components 
@using Volo.Abp.Ui.LayoutHooks 
@using Volo.Abp.AspNetCore.Components.Web.Theming.Components.LayoutHooks 
@using Volo.Abp.AspNetCore.Components.Web.Theming.Layout 
 
@inject IBrandingProvider BrandingProvider 
 
<div class="lpx-scroll-container ps"> 
  <div id="lpx-wrapper"> 
  	<div class="lpx-content-container"> 
  		<div class="lpx-topbar-container"> 
  			<div class="lpx-topbar"> 
  				<Breadcrumbs /> 
  			</div> 
  		</div> 
  		<div class="lpx-content-wrapper"> 
  			<div class="lpx-content"> 
  				<ContentToolbar /> 
  				<PageAlert /> 
  				<LayoutHook Name="@LayoutHooks.Body.First" Layout="@StandardLayouts.Empty" /> 
  				@Body 
  				<LayoutHook Name="@LayoutHooks.Body.Last" Layout="@StandardLayouts.Empty" /> 
  				<DynamicLayoutComponent /> 
  				<UiMessageAlert /> 
  				<UiNotificationAlert /> 
  			</div> 
  		</div> 
  		<footer> 
  			<Footer /> 
  		</footer> 
  	</div> 
  </div> 
</div> 
 

EmptyLayout.razor.cs

public partial class EmptyLayout 
{ 
    [Inject] 
    protected IAbpUtilsService UtilsService { get; set; } 
 
    [Inject] 
    IJSRuntime JSRuntime { get; set; } 
 
    [Inject] 
    protected IOptions<LeptonXThemeOptions> Options { get; set; } 
 
    protected override async Task OnAfterRenderAsync(bool firstRender) 
    { 
        if (firstRender) 
        { 
            await UtilsService.AddClassToTagAsync("body", GetBodyClassName()); 
            await JSRuntime.InvokeVoidAsync("initLeptonX", new[] { "side-menu", Options.Value.DefaultStyle }); 
            await JSRuntime.InvokeVoidAsync("afterLeptonXInitialization", new[] { "side-menu", Options.Value.DefaultStyle }); 
             
        } 
    } 
 
    private string GetBodyClassName() 
    { 
        return "lpx-theme-" + Options.Value.DefaultStyle; 
    } 
} 

Thanks for this. I have a few questions:

  1. How can we make use of this layout within a component/page?
  2. The @using Volo.Abp.Ui.LayoutHooks and @using Volo.Abp.AspNetCore.Components.Web.Theming.Components.LayoutHooks are throwing errors. It says that the type or namespace doesn't exist. I've tried to download v6.0.0 of both packages, but still the same error.
  3. Could you provide the JS for initLeptonX and afterLeptonXInitialization, or are those built in?
  • ABP Framework version: v6.0.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

We have a Blazor Server app that uses the LeptonX theme, and I was wondering how we could assign the Empty layout to a specific razor page/component. We have a publicly accessible page within our app which we would like to be free of the typical layout parts (side menu, toolbars, etc.). I see an 'Account' and 'Application' folder in Blazor/Themes/LeptonX/Layouts, but no 'Empty' folder.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v6.0.0-rc3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue: Implement the Blazorise RichTextEdit as seen in the basic example in a modal.

I've implemented the Blazorise RichTextEdit within a modal in our Blazor server app, but when typing at normal speeds, the cursor jumps back to the beginning of the text. I noticed that this doesn't happen when typing extremely slowly.

A workaround that is working is removing the RichTextEditor from the modal, and putting it on a new page.

Showing 1 to 6 of 6 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06