Skip to content

Only admins can attach a video for now - #1965

Merged
wintermeyer merged 1 commit into
mainfrom
worktree-video-admins
Sep 3, 2026
Merged

Only admins can attach a video for now#1965
wintermeyer merged 1 commit into
mainfrom
worktree-video-admins

Conversation

@wintermeyer

Copy link
Copy Markdown
Owner

Video on posts went live for everyone yesterday (#1963). Until the feature has been tried by the people who can judge it, only admins should attach a clip, and nobody else should see it.

A per-installation switch, VIDEO_UPLOADERS (default admins, members opens it), decides who may upload. The check sits in Vutuv.Videos.create_pending_video/3; the surfaces only hide: no picker for a member in the composer and an unoffered upload cut off at its first chunk, the picture-only refusal from the Mastodon API and /api/2.0, and no video types or limits in the instance answer until every member may upload. Playback is never gated.

One consequence: while uploads are admins-only, even admins cannot upload from a Mastodon client, since the instance answer is anonymous. The web composer works. Production needs no environment change.

An AI agent wrote this text in my name. I know that is problematic.

https://claude.ai/code/session_017tGtKCW1DpJk5JmX5j41A3

Das Video-Feature ist einen Tag alt, und Stefan will es erst mit den Leuten
ausprobieren, die es beurteilen können, bevor jedes Mitglied es sieht. Ein
Schalter je Installation (VIDEO_UPLOADERS, Standard admins) entscheidet, wer
einen Clip anhängen darf; die Prüfung sitzt im Kontext, und jede Fläche, die
einen Clip anbietet oder annimmt, fragt sie, damit ein Mitglied außerhalb
des Kreises die Funktion nirgends zu sehen bekommt: kein Picker, die
Mastodon-API und /api/2.0 lehnen mit dem Bilder-Satz ab, und die Instanz-
Antwort nennt keine Videoformate. Das Abspielen bleibt für alle.

Claude-Session: https://claude.ai/code/session_017tGtKCW1DpJk5JmX5j41A3
@wintermeyer
wintermeyer merged commit b38b5e3 into main Sep 3, 2026
1 check passed
@wintermeyer
wintermeyer deleted the worktree-video-admins branch September 3, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant