Audit will not work with Diffusion uninstalled. It's weird to see Diffusion not being required and Audit required which is a subcomponent of Diffusion. Example.
- Set canUninstall in PhabricatorAuditApplication.php to true
- Add this rule:
If Audit will be uninstalled, automatically uninstall Diffusion too.
The user must have the Can Configure Application and Can Use Application permissions in both applications.