mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[PR #1991] [MERGED] feature: Support single organization policy #3039
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#3039
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/1991
Author: @domdomegg
Created: 9/24/2021
Status: ✅ Merged
Merged: 10/8/2021
Merged by: @dani-garcia
Base:
main← Head:domdomegg/single-organization-policy📝 Commits (1)
d014eedfeature: Support single organization policy📊 Changes
11 files changed (+97 additions, -13 deletions)
View changed files
📝
src/api/core/ciphers.rs(+1 -1)📝
src/api/core/emergency_access.rs(+1 -1)📝
src/api/core/organizations.rs(+56 -0)📝
src/api/identity.rs(+2 -2)📝
src/config.rs(+1 -0)📝
src/db/models/org_policy.rs(+5 -6)📝
src/db/models/organization.rs(+1 -1)📝
src/db/models/user.rs(+2 -2)📝
src/mail.rs(+12 -0)➕
src/static/templates/email/send_single_org_removed_from_org.hbs(+5 -0)➕
src/static/templates/email/send_single_org_removed_from_org.html.hbs(+11 -0)📄 Description
This adds back-end support for the single organization policy.
This is listed on the wiki as a feature in scope for Vaultwarden that a contribution would be welcome for.
NB: this is not already done by #1955, despite that PR enabling the enum for it (it only implements the RequireSso policy).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.