This will make the interface accessible as read-only for logged-out users.
Ref T15999
Differential D25926
Make Diffusion repository management accessible to logged-out users Cigaryno on Wed, Mar 26, 09:20. Authored by
Details
This will make the interface accessible as read-only for logged-out users. Ref T15999 With policy.allow-public set to true and diffusion.canuse set to Public:
Diff Detail
Event TimelineComment Actions It is useful for logged-out users to know some more info about repositories, including but not limited to:
Comment Actions Why would a logged-out user (who does not want to or cannot create an account) want to know about Repository management log or Repository limits? I don't see how that's their business (or interest)? Comment Actions I think repository log is only for possible breaking changes (ie. (dis)allowing large and dangerous changes, or even [rarely] changing the repo name). Fetch timeout (on limits) can be useful on rare cases (such as troubleshooting clone/fetch problems if it's not their end). Comment Actions Uhm. Good points:
Bad points:
Comment Actions robots.txt can have the solution for that (see below).
Agree with you, especially if the sysadmin doesn't care about robots.txt
But any click results in a Login Required dialog. It does indeed look scary (especially destroy, which actually doesn't work on the web interface)
For search engines, the solution is to add this to robots.txt: Disallow: /source/*/manage/ Note that I don't know a lot about the right syntax for robots.txt, but what I shown above does not apply if the file already contains Disallow: /source/ As for possibly being scary to visit the repo management, no one should truly worry as there is nothing they can change (anything shows Login Required) Comment Actions In theory yes if everyone behaved. In practice, robots.txt is ignored and LLM/AI crawlers are ruthless. (For example, GNOME GitLab admins recently installed Anubis to run background checks on your machine.) |