mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 17:55:58 +03:00
[PR #4441] [MERGED] improve access to collections via groups #3434
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#3434
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/4441
Author: @stefan0xC
Created: 3/19/2024
Status: ✅ Merged
Merged: 4/27/2024
Merged by: @dani-garcia
Base:
main← Head:fix-groups📝 Commits (3)
6ebaa4brefactor get_org_collections_details7890f58improve access to collection checkebddabdfix get_org_collection_detail too📊 Changes
3 files changed (+23 additions, -41 deletions)
View changed files
📝
src/api/core/organizations.rs(+7 -23)📝
src/auth.rs(+2 -6)📝
src/db/models/collection.rs(+14 -12)📄 Description
I've refactored the check if a user has access to a collection so it also takes into account access via groups (but only if
ORG_GROUPS_ENABLED=true).This should also return the correct result for
get_org_collection_detail(though I'm not sure if this is used by the client).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.