Skip to content

Commit

Permalink
docs: add todo note about listing private kits
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jan 19, 2024
1 parent 71d411b commit 3e24eb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions astroplant-api/src/controllers/user/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ pub async fn list_kit_memberships(
)
.await?;

// TODO: perhaps only return kits that we are allowed to view (i.e., those that have a public
// dashboard, or those that we are a member of)

let user_id = user.get_id();
let conn = pg.get().await?;
let kit_memberships = conn
Expand Down

0 comments on commit 3e24eb7

Please sign in to comment.