assemblee-virtuelle / assemblee-virtuelle/semapps

activitypub.collection.get: the totalItems number include items we cannot see

Open
#1,136 0 comments 0 reactions 0 assignees View on GitHub
activitypub bug easy
Dominant language
TypeScript
Stars
103
Forks
14
Avg merge
1m
Merged PRs (30d)
2

Description

This is because we do a first query to find the number of items in the collections (and in this query the WebACL don't apply as they are related to the collection, not the items). And then we query each item. But the `totalItems` returned does not reflect the permissions errors we may have.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the activitypub.collection.get entry point and trace the initial collection-count query alongside the per-item queries. Verify how WebACL permission errors are handled, then confirm that totalItems reflects only items visible to the requester.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authorization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.