mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-08-26 11:55:50 -05:00
[GH-ISSUE #2989] Group members cannot add new entries to collection on testing-branch #10247
Reference in New Issue
Block a user
Originally created by @olsn on GitHub (Dec 15, 2022).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2989
Subject of the issue
When using the groups-feature on the testing-branch, a "regular" group-member (non-manager) cannot create any entries in a collection, that is given access to via groups.
Deployment environment
Your environment (Generated via diagnostics page)
Steps to reproduce
4.1. Give permission of that collection "C" to the group "G"
4.2. Assign the user "U" to the group "G"
4.3. Make sure that the user "U" does not have direct permission on the collection "C". In other words: the permission should be configured via the group only!
5.1. Add a new entry to the collection "C"
Expected behavior
The entry should be added to the collection.
Actual behavior
An error toast appears in the top right: "You lack the necessary permissions to perform this action."
@BlackDex commented on GitHub (Dec 15, 2022):
This indeed is an issue. We see some more issues with groups currently, and probably going to disable groups by default for now until we have worked out all the issues.
You are still free to use it of course, but bugs like this will be in there until we have some time to look at this new feature a bit better.
@BlackDex commented on GitHub (Dec 15, 2022):
I have created a PR #2995 which puts this feature behind a flag, and disabled by default.
This features needs some more TLC from devs.
@bytebone commented on GitHub (Jan 16, 2023):
Maybe I'm doing something wrong, but I'm encountering the same issue on 1.27 when the user is a manager, not a regular user. Here's my system info:
Your environment (Generated via diagnostics page)
My user is a manager, has access control set to "access only selected collections" and none of the collections ticked.
The group is is set to "access only selected collections" as well, with one collection ticked, and both access options off.
The collection appears in the users collection list, passwords show up, but new entries can't be added. I'm aware this feature is in beta and the issue is known, but figured I'd report that it apparently also affects the manager role. Maybe someone can confirm if this issue is on the server side, or my side.
@BlackDex commented on GitHub (Jan 16, 2023):
This probably is the same issue. Which has not been addressed.