rosa-build/app/policies/collaborator_policy.rb

11 lines
209 B
Ruby
Raw Normal View History

class CollaboratorPolicy < ApplicationPolicy
# Public: Get list of parameters that the user is allowed to alter.
#
# Returns Array
def permitted_attributes
%i(role actor_id actor_type)
end
end