Description
Creation of boolean and unit types should be tightly protected, any attempt to create a boolean or a unit instance should be stopped by "wikilambda-create-boolean" and "wikilambda-create-unit".
However, these two rights are not being captured by "getRequiredCreateRights" method (See https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikiLambda/+/refs/heads/master/includes/Authorization/ZObjectAuthorization.php#78)
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist