-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web-vault v2024.12.0 Manage role permission issue #5367
Comments
I'm not sure how you got the This is the same as reported in #5361. |
FYI @chrpinedo |
I understand that Collection based access control is not implemented yet. However the UI behavior described above might be an issue in the future as it change Permission (at least on UI side): For Members permission See the Steps to reproduce above |
This commit will add the manage role/column to collections and groups. We need this to allow users part of a collection either directly or via groups to be able to delete ciphers. Without this, they are only able to either edit or view them when using new clients, since these check the manage role. Still trying to keep it compatible with previous versions and able to revert to an older Vaultwarden version and the `access_all` feature of the older installations. In a future version we should really check and fix these rights and create some kind of migration step to also remove the `access_all` feature and convert that to a `manage` option. But this commit at least creates the base for this already. This should resolve dani-garcia#5367 Signed-off-by: BlackDex <[email protected]>
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Environment settings which are overridden: DOMAIN, TRASH_AUTO_DELETE_DAYS, ORG_CREATION_USERS, EMERGENCY_ACCESS_ALLOWED, ADMIN_TOKEN, INVITATION_ORG_NAME, DISABLE_2FA_REMEMBER
Config:
Vaultwarden Build Version
v1.32.7-bc913d11
Deployment method
Build from source
Custom deployment method
No response
Reverse Proxy
No proxy
Host/Server Operating System
Linux
Operating System Version
Ubuntu 22.04
Clients
Web Vault
Client Version
No response
Steps To Reproduce
Issue 1:
Groups
and create a new group and link the new collection withCan edit
permission and pressSave
Collections
the permission show isCan manage
instead ofCan edit
Issue 2:
collections
tab link the new collection withCan manage
Permission and pressSave
Collections
the permission show isCan edit
instead ofCan manage
Expected Result
Keep the permission previously set in the web-vault
Actual Result
Can manage
becomeCan edit
Can edit
becomeCan manage
Logs
No response
Screenshots or Videos
No response
Additional Context
Thanks for the work added in #5219
The feature might not be added yet but for now, users with
Can manage
permissions (on collection) can't manage collection in the Password Manager.On Vaulwarden Side:
(note Issue 1 and 2 prevent me to have a
Can Manage
in User permission and aCan edit
in group permission)User vault:
user can't edit the Collection even if they have
Can manage
permissionOn Bitwarden side:
User vault:
User can edit the collection with
Can manage
permissionThe text was updated successfully, but these errors were encountered: