mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 08:54:01 -05:00
[PR #4860] [MERGED] Fix manager in web-vault v2024.6.2 for collections #32535
Reference in New Issue
Block a user
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/4860
Author: @BlackDex
Created: 8/14/2024
Status: ✅ Merged
Merged: 8/15/2024
Merged by: @dani-garcia
Base:
main← Head:fix-manager-role📝 Commits (1)
595a809Fix manager in web-vault v2024.6.2 for collections📊 Changes
4 files changed (+85 additions, -31 deletions)
View changed files
📝
src/api/core/organizations.rs(+6 -5)📝
src/db/models/collection.rs(+26 -8)📝
src/db/models/group.rs(+7 -9)📝
src/db/models/organization.rs(+46 -9)📄 Description
The web-vault v2024.6.2 we use needs some extra information to allow managers to actually be able to manage collections.
The v2024.6.2 web-vault has somewhat of a mixture of the newer roles and older manager roles. To at least fix this for the web-vault we bundle these changes will make the manager able to manage.
For future web-vaults we would need a lot more changes to be done to fix this in a better way though.
Fixes #4844
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.