Disable adding or updating plugins, themes or WordPress itself in the WordPress admin

Add to wp-config.php:

define( 'DISALLOW_FILE_MODS', true );

Useful when managing plugin updates via Composer.