dani-garcia / vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
GNU Affero General Public License v3.0
37.31k stars 1.82k forks source link

Resolving Item Creation Issues for Manager Role #4601

Closed bxdcxdx closed 4 months ago

bxdcxdx commented 4 months ago

Subject of the issue

In the current version of Vaultwarden, users assigned the “Manager” role experience issues when creating items within newly created folders. This problem manifests consistently across all browsers and operating systems, indicating that it is specifically related to the role permissions rather than the environment.

Consistency and Workarounds:

Related Issues:

Deployment environment

Steps to reproduce

  1. Manager Role Actions:
    • A manager logs into Vaultwarden.
    • The manager creates a new folder, for example, named “test”.
    • The manager navigates into the newly created folder “test”.
    • The manager attempts to create a new item within this folder.
  2. Encountered Problem:
    • The new folder “test” does not appear in the “Collections” list.
    • Consequently, the manager is unable to assign the item to the newly created folder.
    • To proceed, the manager is forced to reload the entire page.

Expected behaviour

see the newly created Collection in the Collection list.

Actual behaviour

Can't see the newly created Collection in the Collection list without a page reload.

Troubleshooting data

BlackDex commented 4 months ago

Already resolved via #4517.

Please use the testing tagged container to make use of this fix.