This task is for meeting the acceptance criterion from T199918: Allow a user to be blocked from creating pages only:
When the 'Creating page' checkbox is selected, the 'Uploading files' checkbox should become selected and disabled. (Uploading a file creates the file page.)
This has been made into a separate task since it involves some design discussion.
A checked and disabled checkbox will not be submitted, so checking and disabling may not be the best idea, since it would involve extra wiring in the backend. This would also need repeating for the API. This wiring code would also be quite ugly, since it would involve more components being aware of the details of which actions are blockable; at the moment this is all handled by (and hidden away in) the BlockActionInfo service.
How about simply adding some inline help text to the 'create' checkbox to warn that it is helpful to check 'upload' too?