Fossil

Diff
Login

Differences From Artifact [21eb781367]:

To Artifact [bbd16189ed]:


204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
  return cson_object_value(pay);
}

/*
** Sub-impl of /json/artifact for checkins.
*/
static cson_value * json_artifact_ci( int rid ){
  if(! g.perm.History ){
    json_set_err( FSL_JSON_E_DENIED, "Viewing checkins requires 'h' access." );
    return NULL;
  }else{
    return json_artifact_for_ci(rid, 1);
  }
}

/*







|
|







204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
  return cson_object_value(pay);
}

/*
** Sub-impl of /json/artifact for checkins.
*/
static cson_value * json_artifact_ci( int rid ){
  if(! g.perm.History && !g.perm.Read ){
    json_set_err( FSL_JSON_E_DENIED, "Viewing checkins requires 'h' or 'o' access." );
    return NULL;
  }else{
    return json_artifact_for_ci(rid, 1);
  }
}

/*