summaryrefslogtreecommitdiff
path: root/app/finders/joined_groups_finder.rb
Commit message (Collapse)AuthorAgeFilesLines
* Address feedbackDouwe Maan2016-03-221-5/+0
|
* Tweaks, refactoring, and specsDouwe Maan2016-03-201-24/+8
|
* Code fixesFelipe Artur2016-03-171-2/+2
|
* Block internal groups/projects visibility to external usersFelipe Artur2016-03-161-1/+1
|
* Code improvements and add Create group serviceFelipe Artur2016-03-161-1/+1
|
* Prevent projects to have higher visibility than groupsFelipe Artur2016-03-101-0/+45
| | | | | | Prevent Groups to have smaller visibility than projects Add default_group_visibility_level to configuration Code improvements
* remove public field from namespace and refactoringnamespace-clean_upValery Sizov2016-01-041-49/+0
|
* Refactoed GroupsFinder into two separate classesYorick Peterse2015-11-181-0/+49
In the previous setup the GroupsFinder class had two distinct tasks: 1. Finding the projects user A could see 2. Finding the projects of user A that user B could see Task two was actually handled outside of the GroupsFinder (in the UsersController) by restricting the returned list of groups to those the viewed user was a member of. Moving all this logic into a single finder proved to be far too complex and confusing, hence there are now two finders: * GroupsFinder: for finding groups a user can see * JoinedGroupsFinder: for finding groups that user A is a member of, restricted to either public groups or groups user B can also see.