"Feature flags" is a way to change the behaviour of a specific frontend, just by updating a configuration file. It makes it easier to disable or enable specific features, like the ability to access the marketplace, or the ability to add users to an organisation for example.
Table of Contents | ||
---|---|---|
|
1 - Preamble
Feature flag options control the availability of specific features on MNO Frontends.
They are configured per frontend and can be setup in a config file named ~/config/settings.yml.
Most flag will come in the form: , so changing
Note: a restart of the frontend will be necessary for any change to be taken into consideration
2 - Feature flags summary
Frontend
Feature flag | Default value |
---|---|
pricing | false |
dock | true |
developer | false |
reviews | false |
payments | false |
marketplace | true |
marketplace comparison enabled | false |
organization_management | true |
user_management | true |
devise | false |
Admin Panel
Feature flag | Default value |
---|---|
admin_panel | false |
admin_panel | false |
admin_panel | true |
admin_panel | true |
admin_panel | true |
admin_panel | true |
3 - Frontend - Features flags details
3.1 - pricing
enabled
Description: Setting enabled to true will enable the pricing section in the marketplace
Default value: false
3.2 - dock
enabled
Description: Setting enabled to true will display the application dock in the dashboard. Set to false will display a tile layout
Default value: true
3.3 - developer
enabled
Description: Display the developer section on "My Account"
Default value: false
3.4 - reviews
enabled
Description: enable reviews in the marketplace
Default value: false
3.5 - payments
disabled
Description: Transform Disabled payment in the company settings and transform invoices in Account statements
Default value: false
No Screenshot
3.6 - marketplace
enabled
Description: enable the marketplace and adding new apps
Default value: true
comparison
enabled
Description: enable apps comparisons
Default value: false
3.7 - organization_management
enabled
Description: allow users to create and managed organizations
Default value: true
3.8 - user_management
enabled
Description: allow users to edit their information and password
Default value: true
3.9 - devise
registration
disabled
Description: disable user registration
Default value: false
3.10
4 - Admin Panel - Features flags details
4.1 - admin_panel
impersonation
disabled
Description: disable the ability to impersonate users from the admin panel
Default value: false
staff
disabled
Description: disable the staff management in the admin panel
Default value: false
finance
enabled
Description: disable the finance page, the financial kpis and the invoices in the admin panel
Default value: true
apps_management
enabled
Description: disabled adding/removing apps (connection of added apps is still possible) from the admin panel
Default value: true
customer_management
organization
enabled
Description: disable the ability to create or invite customers from the admin panel
Default value: true
customer_management
user
enabled
Description: disable the ability to add users from the admin panel
Default value: true