code: @EventHandler
      public void handle(PermissionGrantedEvent event) {
          commandAuthorizationRepository.createOrUpdate(event.getChargingStationId().getId(), event.getUserIdentity().getId(), event.getCommandClass());
      }
docs: Handles {@code PermissionGrantedEvent} by calling repository to create or update the command authorization.
  
  @param event contains information about command authorization.