mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[PR #1329] [MERGED] JSON Response updates and small fixes #2947
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#2947
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/1329
Author: @BlackDex
Created: 1/25/2021
Status: ✅ Merged
Merged: 2/3/2021
Merged by: @dani-garcia
Base:
master← Head:misc-updates📝 Commits (2)
7dff8c0JSON Response updates and small fixesecb46f5Merge branch 'master' into misc-updates📊 Changes
5 files changed (+167 additions, -44 deletions)
View changed files
📝
src/api/core/ciphers.rs(+42 -14)📝
src/api/core/organizations.rs(+19 -0)📝
src/db/models/cipher.rs(+43 -24)📝
src/db/models/collection.rs(+31 -1)📝
src/db/models/organization.rs(+32 -5)📄 Description
Updated several json response models.
Also fixed a few small bugs.
ciphers.rs:
Fixed removal of user_uuid which prevent user-owned shared-cipher to be not editable anymore when set to read-only.Responsekey/values from several objects.cipher.rs:
organizations.rs:
organization.rs:
collection.rs:
to_json_details)Update 1: Some small changes after comments from @jjlin.
Update 2: Fixed vault purge by user to make sure the cipher is not part of an organization.
Resolves #971
Closes #990, Closes #991
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.