1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

Add multi level ACLs for loan piece detail loan button

This commit is contained in:
Tim Daubenschütz 2015-09-28 17:39:58 +02:00
parent 6a5b66bda5
commit e1ac3ca4c6

View File

@ -51,12 +51,16 @@ let WalletActionPanel = React.createClass({
editions={this.props.piece}
handleSuccess={this.loadPiece}>
<AclProxy
aclObject={availableAcls}
aclObject={this.props.currentUser.acl}
aclName="acl_wallet_submit">
<SubmitButtonType
className="btn-sm"
handleSuccess={this.handleSubmitSuccess}
piece={this.props.piece}/>
<AclProxy
aclObject={availableAcls}
aclName="acl_wallet_submit">
<SubmitButtonType
className="btn-sm"
handleSuccess={this.handleSubmitSuccess}
piece={this.props.piece}/>
</AclProxy>
</AclProxy>
<DeleteButton
handleSuccess={this.handleDeleteSuccess}