mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
Add multi level ACLs for loan piece detail loan button
This commit is contained in:
parent
6a5b66bda5
commit
e1ac3ca4c6
@ -50,6 +50,9 @@ let WalletActionPanel = React.createClass({
|
|||||||
availableAcls={availableAcls}
|
availableAcls={availableAcls}
|
||||||
editions={this.props.piece}
|
editions={this.props.piece}
|
||||||
handleSuccess={this.loadPiece}>
|
handleSuccess={this.loadPiece}>
|
||||||
|
<AclProxy
|
||||||
|
aclObject={this.props.currentUser.acl}
|
||||||
|
aclName="acl_wallet_submit">
|
||||||
<AclProxy
|
<AclProxy
|
||||||
aclObject={availableAcls}
|
aclObject={availableAcls}
|
||||||
aclName="acl_wallet_submit">
|
aclName="acl_wallet_submit">
|
||||||
@ -58,6 +61,7 @@ let WalletActionPanel = React.createClass({
|
|||||||
handleSuccess={this.handleSubmitSuccess}
|
handleSuccess={this.handleSubmitSuccess}
|
||||||
piece={this.props.piece}/>
|
piece={this.props.piece}/>
|
||||||
</AclProxy>
|
</AclProxy>
|
||||||
|
</AclProxy>
|
||||||
<DeleteButton
|
<DeleteButton
|
||||||
handleSuccess={this.handleDeleteSuccess}
|
handleSuccess={this.handleDeleteSuccess}
|
||||||
piece={this.props.piece}/>
|
piece={this.props.piece}/>
|
||||||
|
Loading…
Reference in New Issue
Block a user