♻️(features) rename "TEAMS" flag

To match recent changes we rename the "TEAMS" feature flag
to "TEAMS_DISPLAY".
This commit is contained in:
Quentin BEY
2024-11-14 14:20:10 +01:00
committed by BEY Quentin
parent 59f3499799
commit 90a3e26c7f
12 changed files with 38 additions and 18 deletions

View File

@@ -487,7 +487,7 @@ class User(AbstractBaseUser, BaseModel, auth_models.PermissionsMixin):
),
},
"teams": {
"can_view": teams_can_view and settings.FEATURES["TEAMS"],
"can_view": teams_can_view and settings.FEATURES["TEAMS_DISPLAY"],
"can_create": teams_can_view and settings.FEATURES["TEAMS_CREATE"],
},
"mailboxes": {