code: @RequestMapping(value = "globals/{type}/{id}", method = RequestMethod.PUT)
      public Ack saveGlobalPermission(@PathVariable PermissionTargetType type, @PathVariable int id, @RequestBody PermissionInput input) {
          return accountService.saveGlobalPermission(type, id, input);
      }
docs: Saving a global permission