private PrnfsSettings getSettings() throws Exception {
   final PrnfsSettings settings =
       securityService
           .withPermission(ADMIN, "Getting config")
           .call(
               new Operation<PrnfsSettings, Exception>() {
                 @Override
                 public PrnfsSettings perform() throws Exception {
                   return getPrnfsSettings(pluginSettingsFactory.createGlobalSettings());
                 }
               });
   return settings;
 }