mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 01:12:27 -05:00
Can't move read-only objects #4475
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?
Originally created by @Dubz on GitHub (Oct 14, 2020).
Subject of the issue
A user that is set to read-only mode for a collection cannot edit the item to move it in their collection through the app.
I'm not sure if this is limited to everywhere, or just editing to change its folder. You might still be able to do it from the website. I'm not sure if this is a restriction on this end, or Bitwarden's end. I figured I'd report it here first, though.
Your environment
Server Installed Ok
1.17.0
Server Latest
1.17.0
Web Installed Ok
2.16.1
Web Latest
2.16.1
Steps to reproduce
Normal instance, add a member to a collection with read-only access.
Expected behaviour
They should be able to edit it to set the folder for this item different than
No FolderActual behaviour
Error message states they cannot change it.
Relevant logs
None, yet. Will try to get them later once I get a chance to.
@jjlin commented on GitHub (Oct 14, 2020):
This is a known issue that affects upstream Bitwarden as well:
257b143df1/src/api/core/ciphers.rs (L413-L416)It's a consequence of Bitwarden's current design, where per-user metadata like favorite status and folder membership are mixed with the cipher data itself. It could be worked around, but just hasn't been done yet.
@Dubz commented on GitHub (Oct 14, 2020):
Okay. Thank you for this quick response, I will pass the suggestion on to Bitwarden then, so they can handle it instead. I was initially going to do that, but remembered with using a third-party version, things might be a little different.