danswer-ai / danswer

Gen-AI Chat for Teams - Think ChatGPT if it had access to your team's unique knowledge.
https://docs.danswer.dev/
Other
9.77k stars 1.09k forks source link

User Management: Invite, Deactivate, Search, & Paginate #1631

Closed timeemit closed 2 weeks ago

timeemit commented 3 weeks ago

Overview

This PR enables admin users to

Preview

Screenshot 2024-06-12 at 3 59 00 PM

Note: "Block" has been relabeled to "Deactivate" since opening the PR

Technical Commentary

The invite list replaces the whitelist text file placed at /home/danswer_whitelist.txt with a denormalized record created by the dynamic_config_store with a key of "USERS".

The block list leverages Fast API Users' is_active field.

Tour of Functionality

https://github.com/danswer-ai/danswer/assets/874691/d9839912-ef84-436d-b72d-68474ed13256

Note: "Block" has been relabeled to "Deactivate" since opening the PR

vercel[bot] commented 3 weeks ago

@timeemit is attempting to deploy a commit to the Danswer Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 6:23pm