This is an alternative solution as proposed by @catch in #71 and closes #1565704. I'm not sure that we can write a test for this. Please test manually. I've tested locally using the permissions page and setting max_input_vars in php.ini to something ridiculously small (10).