gitlab-org--gitlab-foss/app
Yorick Peterse e116a356b8 Refactor User#authorized_groups/projects
These methods no longer include public groups/projects (that don't
belong to the actual user) as this is handled by the various finder
classes now. This also removes the need for passing extra arguments.

Note that memoizing was removed _explicitly_. For whatever reason doing
so messes up the users controller to a point where it claims a certain
user does _not_ have access to certain groups/projects when it does have
access. Existing code shouldn't be affected as these methods are only
called in ways that they'd run queries anyway (e.g. a combination of
"any?" and "each" which would run 2 queries regardless of memoizing).
2015-11-18 13:05:45 +01:00
..
assets Merge branch 'contributor-graph-by-email' into 'master' 2015-11-17 13:48:28 -05:00
controllers Merge branch 'compare-first-commit' into 'master' 2015-11-17 18:51:40 +00:00
finders Refactor ProjectsFinder to not pluck IDs 2015-11-18 13:05:45 +01:00
helpers Merge branch 'compare-first-commit' into 'master' 2015-11-17 18:51:40 +00:00
mailers Remove duplication in mailers/emails/notes.rb 2015-11-17 11:55:43 +01:00
models Refactor User#authorized_groups/projects 2015-11-18 13:05:45 +01:00
services Merge branch 'adamliesko/gitlab-ce-notification-upon-unassignment' into 'master' 2015-11-17 18:28:09 +00:00
uploaders Merge branch 'refactor-duplication' into 'master' 2015-11-16 13:05:49 +00:00
views Faster way of obtaining latest event update time 2015-11-18 13:02:43 +01:00
workers Cleanup stuck CI builds daily 2015-11-03 13:12:16 +01:00