Page MenuHomePhabricator
Paste P130

Assign new rights to bots: editcontentmodel and flow-create-board
ActivePublic

Authored by EBernhardson on Dec 9 2014, 1:49 AM.
The combination of these two rights allows a bot to turn any non-existent page into a flow board. This is functionally similar to allowing a bot to create a new wikitext talk page, with the primary difference being what kind of page is created. There exists some precedent already for assigning baseline rights, namely skipcaptcha, from extensions to the bot group. This is not a strictly one way process, a maintenance script exists which can be run by developers to output a wikitext equivalent of the flow board. If some page was errantly created as a flow board it can be converted back into wikitext.
The rights in question:
* editcontentmodel - Allows changing the content model of a page. Possible content models include (but not limited to): wikitext, json, css and flow-board
* flow-create-board - A Flow specific right which is required in addition to editcontentmodel to allow converting a non existant page into the flow-board content model
The initial user for this will be HostBot, an already approved bot, which will be enabling specific sub pages for the [[Wikipedia_talk:Co-op|Co-op]] mentorship program. There are currently no plans to use these rights to enable Flow boards anywhere outside the Co-op's subpages.
There are two ways we can go about assigning rights to HostBot:
* Assign rights to the bot group
* Create a new user group that is allowed to create flow boards
* Assign rights to some other currently existing group
As the bots are generally a well behaved and predictable group it seems reasonable to assign the right to all bots via the bot group. Alternatively we can create a new user group providing these two rights and have it assigned to HostBot. We could also add these rights to a current user group other than bot, although i'm not sure if there are any appropriate groups. All of these are workable solutions, but it seems like a bit of overkill to create a new group for this singular task.
Any questions/comments/suggestions?
~~~~

Event Timeline

EBernhardson updated the paste's language from autodetect to autodetect.
EBernhardson changed the title of this paste from untitled to Assign new rights to bots: editcontentmodel and flow-create-board.

Can you add a request that the Bot Approval Group coordinate with us before approving additional Flow bots/Flow bot tasks?