Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add API action for requesting speech synthesis | mediawiki/extensions/Wikispeech | master | +300 -34 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T264842 Deploy Wikispeech in production | |||
Open | None | T180015 ☂ Deploy Wikispeech on beta cluster | |||
Resolved | Lokal_Profil | T203161 Restrict access to Wikispeech functionality to certain users |
Event Timeline
I've done some experimenting with user rights and that part seems pretty straight forward.
I did some more experimenting, this time on calling the TTS server through the wiki. This wasn't too hard to do, by creating a new API action that just sends requests through to the server. This should be able to limit the access if 1) you can limit who is allowed to use certain API actions on the wiki and 2) you can restrict requests to the TTS server to only be allowed from the wiki. I haven't looked into these yet, but I feel like they should be doable.
At least 1) looks doable:
There are several ways to restrict usage of (certain parts of) the API to certain groups of users, or to disable it altogether.
I think that I've managed to limit the access to the API, but I'm not 100% this is how you're supposed to do it. I posted on Discourse hoping to get some help on this.
Change 570042 had a related patch set uploaded (by Sebastian Berlin (WMSE); owner: Sebastian Berlin (WMSE)):
[mediawiki/extensions/Wikispeech@master] Add API action for requesting speech synthesis
Change 570042 merged by jenkins-bot:
[mediawiki/extensions/Wikispeech@master] Add API action for requesting speech synthesis