This is the admin/owner workbench for sb_movies. It can create, edit, upload poster URLs and permanently delete movie rows after confirmation, so editor controls stay locked for non-admin accounts.
Loads rows from sb_movies.
Create Video inserts a new sb_movies row.
Save updates the full editable movie form and verifies readback.
Delete permanently removes the selected sb_movies row after typed confirmation.
This page is allowed to create, edit and delete sb_movies rows only for owner/admin accounts.
The public Library page keeps browse/watch behavior only.
Permanent delete requires DELETE FROM SUPABASE.
Create/edit/delete are verified with fresh Supabase reads.
This pass preserves the existing sb_movies field keys and does not invent new schema.
titledescriptionmux_playback_urlvideo_urlthumbnail_urltrailer_urlyearratingruntime_textage_ratingdirectorcast_textgenrestagschannel_idowner_idfeaturedduration_secondssource_typestatusupdated_atcreated_at/read-onlyid/read-onlySupabase Library Editor V7.12.277: clean top rail + admin/owner lock test. Real create/edit/delete/upload logic retained from V7.12.217.
Full-field save: editable form saves together and verifies after Supabase readback.
This permanently deletes the selected movie row from Supabase. Storage poster files are not deleted here.