mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #4168] [MERGED] Allow customizing the featureStates #3388
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#3388
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4168
Author: @PKizzle
Created: 12/14/2023
Status: ✅ Merged
Merged: 1/1/2024
Merged by: @dani-garcia
Base:
main← Head:feature/customize-feature-flags📝 Commits (10+)
e62de29Allow customizing the featureStates2072d6eMerge branch 'main' of https://github.com/dani-garcia/vaultwarden646cedeMove feature flag parsing to utilf12e288Merge branch 'main' of https://github.com/dani-garcia/vaultwarden9dea157Fix formatting9424629Update supported feature flags2d45af2Rename feature_flags to experimental_client_feature_flags4bdfa7bFix formatting issue.c52ffc7Add documentation to env template4507c11Remove functionality to disable feature flags📊 Changes
4 files changed (+36 additions, -11 deletions)
View changed files
📝
.env.template(+11 -0)📝
src/api/core/mod.rs(+4 -10)📝
src/config.rs(+12 -1)📝
src/util.rs(+9 -0)📄 Description
Instead of statically disabling autofill-v2 and enabling fido2-vault-credentials let the user decide which features to en-/disable.
By default the above mentioned standard values are used but can be changed by specifying a comma separated list of any of the currently available in the bitwarden clients:
github.com/bitwarden/clients@00fd45a678/libs/common/src/enums/feature-flag.enum.tsTo disable a feature just prepend an exclamation mark (!). The default value is:!autofill-v2,fido2-vault-credentials🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.