User with Manager role gets "401 Unauthorized" when accessing Organization Manage tab #1225

Closed
opened 2025-10-09 17:08:04 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Dimonina on GitHub.

Subject of the issue

The manager role does not to seem work well. As a manager, I can't manage Organization's collections.

Deployment environment

  • vaultwarden version: 1.23.1
  • Install method: docker
  • Clients used: web
  • Reverse proxy and version: no proxy

Steps to reproduce

  1. Create first admin user "admin@test.com"
  2. Create an organization under this user, e.g. "MyOrg"
  3. Create a couple of collections "Col1", "Col2", "Col2/Col2-1"
  4. Create a new user "manager@test.com"
  5. Assign a manager role to manager@test.com under admin user and give rights to "Col2", "Col2/Col2-1" collection.
  6. Under manager@test.com using web interface go to organization and click "Manage" tab.

Expected behaviour

User can see a page with an ability to manage collections

Actual behaviour

User is logged out

Originally created by @Dimonina on GitHub. <!-- # ### NOTE: Please update to the latest version of vaultwarden before reporting an issue! This saves you and us a lot of time and troubleshooting. See: * https://github.com/dani-garcia/vaultwarden/issues/1180 * https://github.com/dani-garcia/vaultwarden/wiki/Updating-the-vaultwarden-image # ### --> <!-- Please fill out the following template to make solving your problem easier and faster for us. This is only a guideline. If you think that parts are unnecessary for your issue, feel free to remove them. Remember to hide/redact personal or confidential information, such as passwords, IP addresses, and DNS names as appropriate. --> ### Subject of the issue The manager role does not to seem work well. As a manager, I can't manage Organization's collections. ### Deployment environment * vaultwarden version: 1.23.1 * Install method: docker * Clients used: web * Reverse proxy and version: no proxy ### Steps to reproduce 1. Create first admin user "admin@test.com" 2. Create an organization under this user, e.g. "MyOrg" 3. Create a couple of collections "Col1", "Col2", "Col2/Col2-1" 4. Create a new user "manager@test.com" 5. Assign a manager role to manager@test.com under admin user and give rights to "Col2", "Col2/Col2-1" collection. 6. Under manager@test.com using web interface go to organization and click "Manage" tab. ### Expected behaviour User can see a page with an ability to manage collections ### Actual behaviour User is logged out
Author
Owner

@BlackDex commented on GitHub:

Duplicate of #2151
And already fixed in #2169

@BlackDex commented on GitHub: Duplicate of #2151 And already fixed in #2169
Author
Owner

@Dimonina commented on GitHub:

Duplicate of #2151 And already fixed in #2169

Mmm. If it is fixed, then why I can reproduce it in the latest container version?

@Dimonina commented on GitHub: > Duplicate of #2151 And already fixed in #2169 Mmm. If it is fixed, then why I can reproduce it in the latest container version?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1225