Module: HydraEditor::Form::Permissions::ClassMethods

Defined in:
app/forms/hydra_editor/form/permissions.rb

Instance Method Summary collapse

Instance Method Details

#build_permitted_paramsObject



7
8
9
10
11
# File 'app/forms/hydra_editor/form/permissions.rb', line 7

def build_permitted_params
  permitted = super
  permitted << { permissions_attributes: [:type, :name, :access, :id, :_destroy] }
  permitted
end