@Override
  public T save(T object) {
    if (!ignorePermissions) {
      // in threads permissions should be ignored,
      // because context.getUsername doesn't work. See BUG-27093.
      object.setOwner(this.context.getUsername());
    }
    return super.save(object);
  }
Constructor
@param responseClass model class
@param context View Context instance
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/resources/PersonalCRUDResourceManager.java