2020-08-07 17:10:07 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Import::AvailableNamespacesController < ApplicationController
|
2020-10-05 08:08:47 -04:00
|
|
|
feature_category :importers
|
2022-04-27 14:10:15 -04:00
|
|
|
urgency :low
|
2020-10-05 08:08:47 -04:00
|
|
|
|
2020-08-07 17:10:07 -04:00
|
|
|
def index
|
2021-08-17 14:10:35 -04:00
|
|
|
render json: NamespaceSerializer.new.represent(current_user.manageable_groups_with_routes(include_groups_with_developer_maintainer_access: true))
|
2020-08-07 17:10:07 -04:00
|
|
|
end
|
|
|
|
end
|