Feature summary Allow userrights to be modified by using the API.
Use case(s) : OAuth/Botpassword-backed scripts to lock spambots and block abusive IPs/proxies could implement a feature to add and remove the flood userright at the beginning and end of the script to ensure recent changes and the relevant IRC channels are not flooded by the steward actions.
Benefits : This will improve efficiency by ensuring that flood is applied for the exact right time that is required to perform batch tasks. Currently, a lot of stewards estimate the amount of time that it will take for them to complete a task resulting in them having the flood for longer or shorter than is required. At times tasks can take longer than estimated resulting in the recent changes being spammed if the flood permission expires before the task is done.
Stewards already have a high workload, implementing this can make some of their processes smoother which would beneficial to the team and community. Thanks
Note: Changing user rights via the API is currently possible, but only from an user-script context (or to be more precisely, only if the user is already authenticated). This task is to make the actions=userrights API working for external scripts as well, which are generally authenticated via OAuth or botpassword.