-
-
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
Users with custom role (old manager) in org cannot import into collections they have access rights to #5592
Comments
Why do we require AdminHeaders here: organizations.rs#L1832? |
Managers were never able to import data into organizations as far as i know. |
Hmm, looks like they are in the newer web-vault via the Password Vault import option. |
@BlackDex I can see that. But while we're at it, why aren't users with a manager/custom role allowed to import passwords into collections they have access to (or create a new one for them)? I mean, they have permissions to do it manually (create the collection + passwords), what's the difference in being able to just import an existing password store in one go? |
@maluueu this seems to be a recent change by upstream, so the Allowing this via Lines 671 to 674 in 359a4a0
We could use the |
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Config:
Vaultwarden Build Version
v1.33.1
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
caddy v2.9.1 h1:OEYiZ7DbCzAWVb6TNEkjRcSCRGHVoZsJinoDR/n9oaY=
Host/Server Operating System
Linux
Operating System Version
Ubuntu 24.04.1 LTS (noble)
Clients
Web Vault
Client Version
No response
Steps To Reproduce
Expected Result
All entries from KeePass imported into selected collection.
Actual Result
User is logged out from Web Vault.
After logging back in nothing has been imported.
Logs in browser console:
Logs
Screenshots or Videos
No response
Additional Context
All the users are members of exactly one organization. They have all been assigned the role 'Custom' so they can create collections by themselves.
When importing the KeePass 2 store as an admin user or org owner it is working fine.
The text was updated successfully, but these errors were encountered: