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)
-
0
hi Mohammad
Currently we can only control tenants through features.
https://docs.abp.io/en/abp/latest/Features
-
0
Is there any workaround we can use to enable/disable modules?
-
0
hi Mohammad
There is no workaround for now.
-
0
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.
-
0
@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
-
0
is this still active?
-
0
This question has been automatically marked as stale because it has not had recent activity.
-
0
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?
-
0
hi @serdar.genc
This can't be managed now.
https://support.abp.io/QA/Questions/772#answer-0027fb42-c0e1-cd1c-1bf7-39fa52511797
-
0
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 ?
-
0
You can only remove the modules that need to be disabled in the project.