Page MenuHomePhabricator

transcode-reset and transcode-status should be included in a grant
Closed, ResolvedPublic

Description

Currently, no grants include transcode-reset or transcode-status. They should be added to an existing grant, or a new one should be created by the extension.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

List of all grants: https://meta.wikimedia.org/wiki/Special:ListGrants
Maybe add transcode-reset to uploadeditmovefile grant ?

Considering that transcode-status is not used by the api calls.. not sure if it makes sense to add that one right now.

Change 647041 had a related patch set uploaded (by Diwanshu885; owner: Diwanshu885):
[mediawiki/extensions/TimedMediaHandler@master] Add uploadeditmovefile grant with transcode-reset

https://gerrit.wikimedia.org/r/647041

Considering that transcode-status is not used by the api calls.. not sure if it makes sense to add that one right now.

There is limited use for a transcode reset API if you can't check the transcode state via API. I suppose it can be used in gadgets which rely on the user noticing transcode errors via Special:TimedMediaHandler or general page brokenness, but those rights should probably go together.

Change 647041 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] Add uploadeditmovefile grant with transcode-reset

https://gerrit.wikimedia.org/r/647041