@Deprecated
  @Override
  public boolean isCommunityOwner(long groupId) {
    long liveGroupId = StagingUtil.getLiveGroupId(groupId);

    return _permissionChecker.isCommunityOwner(liveGroupId);
  }
  @Override
  public List<Long> getResourceBlockIds(
      long companyId, long groupId, long userId, String name, String actionId) {

    long liveGroupId = StagingUtil.getLiveGroupId(groupId);

    return _permissionChecker.getResourceBlockIds(companyId, liveGroupId, userId, name, actionId);
  }
  @Override
  public boolean hasUserPermission(
      long groupId, String name, String primKey, String actionId, boolean checkAdmin) {

    long liveGroupId = StagingUtil.getLiveGroupId(groupId);

    return _permissionChecker.hasUserPermission(liveGroupId, name, primKey, actionId, checkAdmin);
  }
  @Override
  public boolean hasPermission(long groupId, String name, long primKey, String actionId) {

    long liveGroupId = StagingUtil.getLiveGroupId(groupId);

    if (liveGroupId != groupId) {
      if (primKey == groupId) {
        primKey = liveGroupId;
      }
    }

    return _permissionChecker.hasPermission(liveGroupId, name, primKey, actionId);
  }
  @Override
  public long[] getRoleIds(long userId, long groupId) {
    long liveGroupId = StagingUtil.getLiveGroupId(groupId);

    return _permissionChecker.getRoleIds(userId, liveGroupId);
  }
  @Override
  public boolean isGroupOwner(long groupId) {
    long liveGroupId = StagingUtil.getLiveGroupId(groupId);

    return _permissionChecker.isGroupOwner(liveGroupId);
  }
  @Override
  public boolean isContentReviewer(long companyId, long groupId) {
    long liveGroupId = StagingUtil.getLiveGroupId(groupId);

    return _permissionChecker.isContentReviewer(companyId, liveGroupId);
  }