Activities of "maliming"

We are trying to find the cause of the problem, maybe there is a bug in your implementation, it will work after you fix it.

No problem.

hi

we use ABP cache in each app and sync them via RabbitMQ. Does it make the difference?

I don't think this is good practice, You can try to using Redis.

hi

You can try to split these method calls into separate unit of work, and maybe you can try clearing Redis after this.

https://docs.abp.io/en/abp/latest/Unit-Of-Work#begin-a-new-unit-of-work

hi

I create a custom permission definition in DB. On next step I assign it to a user role. This next step is impossible until I restart the app (so the list of permission definitions is being actualized).

This sounds simple, and you don't need oracle. You can use sql server.

hi

Can you share a simple project with your above code? liming.ma@volosoft.com

The simpler, the better.

hi

. However the permissions are not assigned...

Did you manually insert data into the AbpPermissionGrants table?

Please explain it in detail. Thanks

hi

Is currentHash changed?

What about hasChangesInGroups and hasChangesInPermissions?

hi

Can you debug the StaticPermissionSaver class?

https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/StaticPermissionSaver.cs#L61

Try to see the changed permissions.

You can copy these code to a new class and call it.

hi

Can you try this?

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(MyMobileNavbarViewComponent), typeof(MobileNavbarViewComponent))]
public class MyMobileNavbarViewComponent : MobileNavbarViewComponent
{
    public MyMobileNavbarViewComponent(IMenuManager menuManager, 
        ICurrentUser currentUser,
        IToolbarManager toolbarManager,
        MenuViewModelProvider menuViewModelProvider,
        IOptions<LeptonXThemeMvcOptions> options) 
        : base(menuManager, currentUser, toolbarManager, menuViewModelProvider, options)
    {
    }

    public override async Task<IViewComponentResult> InvokeAsync()
    {
        var mainMenu = await MenuViewModelProvider.GetMenuViewModelAsync();

        var toolbar = await ToolbarManager.GetAsync(StandardToolbars.Main);
        var leptonxToolbar = await ToolbarManager.GetAsync(LeptonXToolbars.MainMobile);

        toolbar.Items.AddRange(leptonxToolbar.Items);

        return View("~/Themes/LeptonX/Components/SideMenu/MobileNavbar/Default.cshtml", new MobileNavbarViewModel
        {
            UserMenu = await MenuManager.GetAsync(StandardMenus.User),
            ProfileImageUrl = $"/api/account/profile-picture-file/{CurrentUser.Id}",
            SelectedMenuItems = Options.MobileMenuSelector(mainMenu.Items.AsReadOnly()).Take(2).ToList(),
            Toolbar = toolbar
        });
    }
}
Showing 6511 to 6520 of 11539 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.