Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi User Auth #43

Open
18 tasks
Yijia-Z opened this issue Nov 5, 2024 · 0 comments
Open
18 tasks

Multi User Auth #43

Yijia-Z opened this issue Nov 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Yijia-Z
Copy link
Owner

Yijia-Z commented Nov 5, 2024

Backend API Endpoints

  • Create endpoint for getting thread permissions
  • Create endpoint for adding user to thread
  • Create endpoint for removing user from thread
  • Create endpoint for updating user permissions
  • Update thread fetch endpoint to check permissions
  • Update thread message endpoints to verify permissions

Permission Management UI

  • Create share button/modal component
  • Implement user search/autocomplete in sharing modal
  • Add permission level dropdown (owner, editor, viewer)
  • Display current thread members and their permissions
  • Add remove user functionality
  • Add permission change functionality

Access Control Logic

  • Implement middleware for checking thread access
  • Define permission levels and their capabilities
    • Owner: Full control (can edit, delete, manage permissions)
    • Editor: Can read and write messages
    • Viewer: Can only read messages
  • Handle transfer of ownership
@Yijia-Z Yijia-Z added the enhancement New feature or request label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants