vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit f3beaea9e95ff7fff679289916232c95621b517c
parent 39ae2f1f76ac5a4f22ca5eaad6201915fea6ca44
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Sun, 27 Nov 2022 22:02:10 +0100

Merge pull request #2933 from stefan0xC/fix-manager-issue

allow managers to set groups of a collection
Diffstat:
Msrc/api/core/organizations.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/core/organizations.rs b/src/api/core/organizations.rs @@ -1748,7 +1748,7 @@ async fn _restore_organization_user( } #[get("/organizations/<org_id>/groups")] -async fn get_groups(org_id: String, _headers: AdminHeaders, mut conn: DbConn) -> JsonResult { +async fn get_groups(org_id: String, _headers: ManagerHeadersLoose, mut conn: DbConn) -> JsonResult { let groups = Group::find_by_organization(&org_id, &mut conn).await.iter().map(Group::to_json).collect::<Value>(); Ok(Json(json!({