Skip to content

Commit f9c0819

Browse files
committed
Remove user lookup from investigation sharing screen
1 parent 77546e5 commit f9c0819

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

ui/src/dialogs/CollectionAccessDialog/CollectionAccessDialog.jsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Component, PureComponent } from 'react';
2-
import { Button, Classes, Callout, Checkbox, Intent } from '@blueprintjs/core';
2+
import { Button, Classes, Checkbox, Intent } from '@blueprintjs/core';
33
import { defineMessages, FormattedMessage, injectIntl } from 'react-intl';
44
import { compose } from 'redux';
55
import { connect } from 'react-redux';
@@ -149,7 +149,6 @@ class CollectionAccessDialog extends Component {
149149
const systemRoles = this.filterPermissions('system');
150150
const groupRoles = this.filterPermissions('group');
151151
const userRoles = this.filterPermissions('user');
152-
const exclude = userRoles.map((perm) => perm.role.id);
153152

154153
return (
155154
<FormDialog
@@ -223,17 +222,6 @@ class CollectionAccessDialog extends Component {
223222
onToggle={this.onToggle}
224223
/>
225224
))}
226-
<tr key="add">
227-
<td colSpan="3">
228-
<Role.Select onSelect={this.onAddRole} exclude={exclude} />
229-
<Callout intent={Intent.WARNING}>
230-
<FormattedMessage
231-
id="collection.edit.permissions_warning"
232-
defaultMessage="Note: User must already have an Aleph account in order to receive access."
233-
/>
234-
</Callout>
235-
</td>
236-
</tr>
237225
</tbody>
238226
</table>
239227
</div>

0 commit comments

Comments
 (0)