mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Add multi level ACLs for loan piece detail loan button
This commit is contained in:
parent
6a5b66bda5
commit
e1ac3ca4c6
@ -51,12 +51,16 @@ let WalletActionPanel = React.createClass({
|
|||||||
editions={this.props.piece}
|
editions={this.props.piece}
|
||||||
handleSuccess={this.loadPiece}>
|
handleSuccess={this.loadPiece}>
|
||||||
<AclProxy
|
<AclProxy
|
||||||
aclObject={availableAcls}
|
aclObject={this.props.currentUser.acl}
|
||||||
aclName="acl_wallet_submit">
|
aclName="acl_wallet_submit">
|
||||||
<SubmitButtonType
|
<AclProxy
|
||||||
className="btn-sm"
|
aclObject={availableAcls}
|
||||||
handleSuccess={this.handleSubmitSuccess}
|
aclName="acl_wallet_submit">
|
||||||
piece={this.props.piece}/>
|
<SubmitButtonType
|
||||||
|
className="btn-sm"
|
||||||
|
handleSuccess={this.handleSubmitSuccess}
|
||||||
|
piece={this.props.piece}/>
|
||||||
|
</AclProxy>
|
||||||
</AclProxy>
|
</AclProxy>
|
||||||
<DeleteButton
|
<DeleteButton
|
||||||
handleSuccess={this.handleDeleteSuccess}
|
handleSuccess={this.handleDeleteSuccess}
|
||||||
|
Loading…
Reference in New Issue
Block a user