BigW Consortium Gitlab
`User#starred_projects` doesn't perform any visibility checks. This has a couple of problems: 1. It assumes a user can always view all of their starred projects in perpetuity (project not changed to private, access revoked, etc.). 2. It assumes that we'll only ever allow a user to star a project they can view. This is currently the case, but bugs happen. Add `User#viewable_starred_projects` to filter the starred projects by those the user either has explicit access to, or are public or internal. Then use that in all places where we list the user's starred projects.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
application_controller.rb | Loading commit data... | |
groups_controller.rb | Loading commit data... | |
labels_controller.rb | Loading commit data... | |
milestones_controller.rb | Loading commit data... | |
projects_controller.rb | Loading commit data... | |
snippets_controller.rb | Loading commit data... | |
todos_controller.rb | Loading commit data... |