diff --git a/js/components/ascribe_detail/edition.js b/js/components/ascribe_detail/edition.js index 2de5eacf..2fc25547 100644 --- a/js/components/ascribe_detail/edition.js +++ b/js/components/ascribe_detail/edition.js @@ -222,7 +222,12 @@ let EditionSummary = React.createClass({ value={ edition.owner } /> {this.getStatus()} - + {/* + `acl_view` is always available in `edition.acl`, therefore if it has + no more than 1 key, we're hiding the `DetailProperty` actions as otherwise + `AclInformation` would show up + */} + 1}> + show={currentUser && currentUser.email && Object.keys(piece.acl).length > 1}> + {/* + `acl_view` is always available in `edition.acl`, therefore if it has + no more than 1 key, we're hiding the `DetailProperty` actions as otherwise + `AclInformation` would show up + */}