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:

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

  • User Avatar
    0
    Mohammad created

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

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi Mohammad

    There is no workaround for now.

  • User Avatar
    0
    hikalkan created
    Support Team Co-Founder

    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.

  • 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

  • User Avatar
    0
    alper created
    Support Team Director

    is this still active?

  • 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.

  • 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?

  • 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

  • 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 ?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

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

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11