editViewRoleForm = (view, roles, req, on_done_redirect_str) =>
  editRoleForm({
    url: `/viewedit/setrole/${view.id}${on_done_redirect_str || ""}`,
    current_role: view.min_role,
    roles,
    req,
  })
@param {object} view
@param {object[]} roles
@param {object} req
@returns {Form}