rosa-build/app/policies/ssh_key_policy.rb

11 lines
187 B
Ruby

class SshKeyPolicy < ApplicationPolicy
# Public: Get list of parameters that the user is allowed to alter.
#
# Returns Array
def permitted_attributes
%i(key name)
end
end