2018-09-23 15:44:14 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2015-04-30 13:06:18 -04:00
|
|
|
class Dashboard::GroupsController < Dashboard::ApplicationController
|
2017-09-13 11:16:30 -04:00
|
|
|
include GroupTree
|
2017-03-01 08:31:56 -05:00
|
|
|
|
2017-12-11 09:21:06 -05:00
|
|
|
skip_cross_project_access_check :index
|
|
|
|
|
2020-10-02 08:09:03 -04:00
|
|
|
feature_category :subgroups
|
|
|
|
|
2017-09-13 11:16:30 -04:00
|
|
|
def index
|
|
|
|
groups = GroupsFinder.new(current_user, all_available: false).execute
|
|
|
|
render_group_tree(groups)
|
2013-07-12 11:22:03 -04:00
|
|
|
end
|
|
|
|
end
|