element-hq / element-hq/synapse

Limit media uploads by content-type

Open
#9,495 0 comments 0 reactions 0 assignees View on GitHub
A-Media-Repository T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#9495](https://github.com/matrix-org/synapse/issues/9495).

---

Hello. How can I restrict doc, docx, but permit jpeg and png files for users?

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is identified in the issue. Start by locating Synapse's media upload handling and configuration, then determine whether content-type restrictions can be expressed for document, JPEG, and PNG uploads; done means the requested restrictions are supported and verified by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.