Skip to content

Commit

Permalink
chore(permissions): change comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vpsx committed Oct 29, 2019
1 parent 40af7ac commit 066bf53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CoreMetadata/CoreMetadataHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ class CoreMetadataHeader extends Component {

render() {
if (this.props.metadata) {
// display the download button if the user can download this file
const { projectAvail } = this.props;
const projectId = this.props.metadata.project_id;
let downloadButton = null;
let signedURLButton = null;

// downloadButton should always render if useArboristUI false. Otherwise according to authz.
if (
!useArboristUI
|| userHasMethodOnProject('read-storage', projectId, this.props.userAuthMapping)
Expand Down

0 comments on commit 066bf53

Please sign in to comment.