Hi there,
Basically, “Disallows Plugin / Theme Editor” will define WordPress constant DISALLOW_FILE_EDIT as true, which prevents using Plugin/Theme editor.
Without enabling “Disallows Plugin / Theme Editor” you can place this code in your wp-config.php to try it out.
define( 'DISALLOW_FILE_EDIT', true);
This issue is related to Yoast SEO, you may refer to it here https://github.com/Yoast/wordpress-seo/issues/15919.
Thanks.