gitlab-org--gitlab-foss/app/policies
Jacopo b996a82ff4 ProjectsFinder should handle more options
Extended ProjectFinder in order to handle the following options:
 - current_user - which user use
 - project_ids_relation: int[] - project ids to use
 - params:
   -  trending: boolean
   -  non_public: boolean
   -  starred: boolean
   -  sort: string
   -  visibility_level: int
   -  tags: string[]
   -  personal: boolean
   -  search: string
   -  non_archived: boolean

GroupProjectsFinder now inherits from ProjectsFinder.
Changed the code in order to use the new available options.
2017-04-06 07:11:37 +02:00
..
ci
base_policy.rb
commit_status_policy.rb
deployment_policy.rb
environment_policy.rb
external_issue_policy.rb
global_policy.rb
group_label_policy.rb
group_member_policy.rb
group_policy.rb ProjectsFinder should handle more options 2017-04-06 07:11:37 +02:00
issuable_policy.rb
issue_policy.rb
merge_request_policy.rb
namespace_policy.rb
note_policy.rb
personal_snippet_policy.rb
project_label_policy.rb
project_member_policy.rb
project_policy.rb
project_snippet_policy.rb
user_policy.rb