1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 class Arvados::V1::ComputedPermissionsController < ApplicationController
6 before_action :admin_required
8 def object_list(**args)
9 if !['none', '', nil].include?(params[:count])
10 raise ArgumentError.new("count parameter must be 'none'")
12 params[:count] = 'none'