docs: public void updateResourcePermissions()
      {
          UserPermission recUserPermission = new UserPermission(this.getOwner().findRecordOwner());
          
          recUserPermission.addListener(new SubFileFilter(this.getOwner()));
          
          try {
              while (recUserPermission.hasNext())
              {
                  recUserPermission.next();
                  recUserPermission.edit();
                  recUserPermission.getField(UserPermission.USER_RESOURCE_ID).setModified(true);   // Fake a mod, so the group permissions will be updated
                  recUserPermission.set();
              }
          } catch (DBException ex) {
              ex.printStackTrace();
          }
          
          recUserPermission.free();
      }