mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[PR #864] [MERGED] Do not disable invitations via admin API #2808
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#2808
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/864
Author: @mprasil
Created: 2/16/2020
Status: ✅ Merged
Merged: 2/16/2020
Merged by: @dani-garcia
Base:
master← Head:admin-invitation📝 Commits (2)
0a72c4bDo not disable invitations via admin API0323342Remove check from Invitation:take()📊 Changes
2 files changed (+4 additions, -9 deletions)
View changed files
📝
src/api/admin.rs(+0 -4)📝
src/db/models/user.rs(+4 -5)📄 Description
This was brought up today:
https://github.com/dani-garcia/bitwarden_rs/issues/752#issuecomment-586715073
I don't think it makes much sense in checking whether admin has the
right to send invitation as admin can change the setting anyway.
Removing the condition allows users to forbid regular users from
inviting new users to server while still preserving the option to do so
via the admin API.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.