share / share/sharedb

Access Control Middleware on Query Results?

Open
#189 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
6.5k
Forks
456
Avg merge
1d 5h
Merged PRs (30d)
5

Description

Is there any way to create ShareDB middleware that inspects and modifies the result from a Query subscription? I'd like to make sure that "private" documents do not leak out from any queries, but I'm not sure how it can be done. Any ideas would be appreciated. Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the issue's question about ShareDB middleware for query subscriptions and investigate whether query results can be inspected or modified. The work is complete when private documents cannot leak through any query, with the approach and relevant entry points established.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.