#1830 Add the EXCLUDE_GROUP_INDEX feature and corresponding tests
Merged by pingou. Opened by pingou.
hide_group  into  master

Download 1830.patch

This new configuration key allows to hide projects an user has only
access to via one or more specified group. This will not remove the
access, just not show the project on the user's user page in order
to not show the 17,000 projects that the people in the provenpackager
group in Fedora have access to when pagure is used as a front-end
for Fedora's git repositories.

rebased

So, we will show all the projects a user has access to in their index page?

Except for the ones the user has access to via one of the blacklisted projects

watchlist still remains.

1 new commit added

  • Apply EXCLUDE_GROUP_INDEX to the watchlist as well

Good catch, added it :)

rebased

The repo_length may or may not be same as the actual number of repo showing. I don't have a preference. Everything else: :thumbsup:

@vivekanand1101 adjusted :)

rebased

:thumbsup:

Thanks for the review :)

Pull-Request has been merged by pingou

Metadata