Open Closed

Hide Identity Management for all users. #5749


User avatar
0
aqudah81 created
  • ABP Framework version: v6.0.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • ** Auth Server Separated (for Angular)**: yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello ,

We need to hide the Identity Management tab from Settings tabs . What is the best way to do that ?

Best regards

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Remove IdentitySettingManagementPageContributor from SettingManagementPageOptions

    Configure<SettingManagementPageOptions>(options =>
    {
        options.Contributors.Remove..
    });```
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    aqudah81 created

    Hi , I tried it , but the Identity Management tab still appear .

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Is the ui angular?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    aqudah81 created

    Hi , Yes

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    mahmut.gundogdu created

    the simplest way remove the permission that name is AbpIdentity.SettingManagement then user cannot seen the settings.

    But if you want to remove the compenent in settings. Create a provider. Then add app.module.ts as provider. Then get settingsTab service and remove it. (I highly suggested permission based solution)

    
    import { SettingTabsService } from '@abp/ng.setting-management/config';
    import { APP_INITIALIZER } from '@angular/core';
    import { eIdentitySettingTabNames } from '@volo/abp.ng.identity/config';
    
    export const IDENTITY_SETTING_TAB_PROVIDERS = [
      {
        provide: APP_INITIALIZER,
        useFactory: configureSettingTabs,
        deps: [SettingTabsService],
        multi: true,
      },
    ];
    
    export function configureSettingTabs(settingtabs: SettingTabsService) {
      return () => {
        settingtabs.remove([eIdentitySettingTabNames.IdentityManagement]);
      };
    }
    
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 24, 2026, 12:09
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.