YouTube provider requests unused youtubepartner scope, blocks clean OAuth verification
Description
YoutubeProvider.scopes requests https://www.googleapis.com/auth/youtubepartner:
I searched the whole repo and this scope is never used in any API call — only channels.list, videos.list, the resumable upload flow, and youtubeAnalytics.reports.query are actually called, which map to youtube, youtube.readonly, youtube.upload, youtube.force-ssl and yt-analytics.readonly.
youtubepartner grants access to YouTube Content ID / partner assets, which Postiz doesn't touch anywhere.
Impact
This matters beyond tidiness: Google's OAuth verification process (required once an app requests sensitive/restricted scopes) asks for a written justification per requested scope, and reviewers commonly reject apps that request scopes with no corresponding functionality. Every self-hosted Postiz instance going through YouTube verification has to either invent a justification for a scope the app doesn't use, or fail verification.
Suggested fix
Drop https://www.googleapis.com/auth/youtubepartner from the scopes array unless there's a planned Content ID/partner feature it's reserved for — if so, worth a comment in the code noting why it's there.
Environment
Self-hosted, v2.11.3.
Source: gitroomhq/postiz-app