Fossil SCM

Require Read permission for the page that /info shows for a cluster artifact, which lists the hashes and descriptions of the artifacts the cluster names.

dmestas 2026-11-22 11:13 UTC small-fixes
Commit 464ec546f1cf9f1690c28b8d7356f9ad6e37956a23735ac6d73165e2c75f6193
1 file changed +2
+2
--- src/info.c
+++ src/info.c
@@ -3302,10 +3302,12 @@
33023302
int badRid = 0;
33033303
int rcvid;
33043304
int hashClr = PB("hclr");
33053305
const char *zDate;
33063306
3307
+ login_check_credentials();
3308
+ if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
33073309
pCluster = manifest_get(rid, CFTYPE_CLUSTER, 0);
33083310
if( pCluster==0 ){
33093311
artifact_page();
33103312
return;
33113313
}
33123314
--- src/info.c
+++ src/info.c
@@ -3302,10 +3302,12 @@
3302 int badRid = 0;
3303 int rcvid;
3304 int hashClr = PB("hclr");
3305 const char *zDate;
3306
 
 
3307 pCluster = manifest_get(rid, CFTYPE_CLUSTER, 0);
3308 if( pCluster==0 ){
3309 artifact_page();
3310 return;
3311 }
3312
--- src/info.c
+++ src/info.c
@@ -3302,10 +3302,12 @@
3302 int badRid = 0;
3303 int rcvid;
3304 int hashClr = PB("hclr");
3305 const char *zDate;
3306
3307 login_check_credentials();
3308 if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
3309 pCluster = manifest_get(rid, CFTYPE_CLUSTER, 0);
3310 if( pCluster==0 ){
3311 artifact_page();
3312 return;
3313 }
3314

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button