[Fix] Incorrectly disabled plugin when permissions failed