-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…tiesrelated-mobile-feature-flag IA-2910 IA-2911 hide planning and entitie srelated mobile feature flags
- Loading branch information
Showing
6 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...how_to/exclude_featureflag_related_module/exclude_featureflag_related_module.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# How to exclude a featureflag related to a module | ||
|
||
## 1. Add a new module for which to exclude its related feature flag | ||
|
||
- Go to `/hat/menupermissions/constants.py` | ||
- Add to the dictionnary `FEATUREFLAGES_TO_EXCLUDE` a new item | ||
- The key is the name of the module like `DATA_COLLECTION_FORMS` in capitale letter | ||
- The value is a list of featureflags(code in capitale letter) to be excluded like `["FEATUREFLAG_1","FEATUREFLAG_2"]` | ||
- The whole `FEATUREFLAGES_TO_EXCLUDE` should be like `FEATUREFLAGES_TO_EXCLUDE = { "MODULE_1": ["FEATUREFLAG_1"], "MODULE_2": ["FEATUREFLAG_2", "FEATUREFLAG_3"],}` | ||
|
||
## 2. Add a feature flag to an existing module to be excluded | ||
|
||
- Go to `/hat/menupermissions/constants.py` | ||
- Check the key corresponding to the module | ||
- Add the featureflag code to the value list of the corresponding module(key) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters