gitblit-org / gitblit

pure java git solution
http://gitblit.com
Apache License 2.0
2.27k stars 671 forks source link

Disable recent activities if user not logged in #1417

Open farzadrabiee opened 2 years ago

farzadrabiee commented 2 years ago

On the Repositories section, it shows the Recent Activities if user not logged in.

I am wondering how can I disable the Recent activities and any other information if user not logged in?

Thanks

flaix commented 1 year ago

I am not sure what you mean. The recent activity is shown on the dashboard and the Activity page. There is also an activity graph on a repository's page.

You cannot disable the activity graph on the repository page. The only thing you can do is not to show anything at all but the login page when the user is not logged in. This also disables browsing the repositories and commits etc.

Repositories that are not open to the public should also not be included in the activities display for not logged in users.