mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #163] As an org admin, assigning myself (or other admin) to a collection results in an error #80
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @janost on GitHub (Aug 30, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/163
Reproduction steps:
Expected result:
The request succeeds and the edited user gains access to the selected collections.
Actual result:
Red error message pops up saying "Only Owners can grant Admin or Owner type".
Background:
Failing request is:
PUT https:///api/organizations/<ORG_ID>/users/<USER_ID>
@mprasil commented on GitHub (Aug 30, 2018):
Thanks for reporting this. Have you tested this in upstream to see how that works there? I'm not sure how to handle this as granting admin ability to edit himself and other admins essentially gives him owner-level privileges.
@janost commented on GitHub (Aug 30, 2018):
I just tested this upstream.
As an organization admin, I was able to edit my own access to collections using the procedure I described in the issue. Unfortunately I can't test if I can edit other admins, because I only have a free account on upstream.
@mprasil commented on GitHub (Aug 30, 2018):
Thanks for that. I guess it's safe to assume, that it would work for other admin accounts.
@mprasil commented on GitHub (Sep 4, 2018):
Submitted PR #170 that should also resolve this issue.