Open Closed

Disable a Module for a tenant #772


User avatar
0
Mohammad created

Hello

Is it possible to disable an entire Module for a tenant?

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.

  • ABP Framework version: v4.0.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    hi Mohammad

    Currently we can only control tenants through features.

    https://docs.abp.io/en/abp/latest/Features

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

    Is there any workaround we can use to enable/disable modules?

    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 Mohammad

    There is no workaround for now.

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

    Hi,

    Feature system can be used to completely enable/disable a module or enable/disable some features of a module. However, the module should implement the logic for disable/enable itself, because it depends what module does.

    For pre-built modules, we have designed the chat and file management module that supports fully disable it per tenant. For example, see the feature management modal for the file management module:

    You can disable per edition or tenant. Even if you enable, you can control the storage limit for tenant/edition.

    Identity and account module also has some features those can be enabled/disabled per tenant/edition.

    However, other pre-built ABP Commercial modules are typically fundamental and business independent modules. So, we didn't design them to be enabled/disabled per tenant.

    For your own modules, you can design them so that they are enabled/disabled per tenant. ABP framework provides the feature infrastructure for it.

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

    @hikalkan

    Thanks for the Explaination.

    How can we disable a permission when the Feature is Disabled. In our application the permissions are dependent on the features.

    So if the feature is disabled we don't want the UI to show the Permissions for the Module. How can we acheive this scenario?

    Thanks

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

    is this still active?

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

    This question has been automatically marked as stale because it has not had recent activity.

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

    It is related to this question. I want to disable some modules in some edition packages. For example, I want CMS module enabled in Gold Edition and disabled in Standard Edition. How can I manage this?

    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 @serdar.genc

    This can't be managed now.

    https://support.abp.io/QA/Questions/772#answer-0027fb42-c0e1-cd1c-1bf7-39fa52511797

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

    hi @serdar.genc

    This can't be managed now.

    https://support.abp.io/QA/Questions/772#answer-0027fb42-c0e1-cd1c-1bf7-39fa52511797

    How can I disable for all tenant ?

    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

    You can only remove the modules that need to be disabled in the project.

    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 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.