mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-30 21:31:13 +00:00 
			
		
		
		
	
					parent
					
						
							
								7a7673103f
							
						
					
				
			
			
				commit
				
					
						e27a5be47a
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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!({ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue