1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { reduxForm } from 'redux-form';
6 import { connect } from 'react-redux';
7 import { compose } from 'redux';
8 import SharingInvitationFormComponent from './sharing-invitation-form-component';
9 import { SHARING_INVITATION_FORM_NAME } from '~/store/sharing-dialog/sharing-dialog-types';
10 import { PermissionLevel } from '~/models/permission';
12 export const SharingInvitationForm = compose(
15 permissions: PermissionLevel.CAN_READ,
19 reduxForm({ form: SHARING_INVITATION_FORM_NAME })
20 )(SharingInvitationFormComponent);