Only show editing UI for aliases/related_groups for users /w power
This commit is contained in:
parent
ba46faf1b1
commit
ee7ebc425c
4 changed files with 16 additions and 11 deletions
|
@ -110,6 +110,7 @@ module.exports = React.createClass({
|
|||
items={this.state.newGroupsList}
|
||||
className={"mx_RelatedGroupSettings"}
|
||||
newItem={this.state.newGroupId}
|
||||
canEdit={this.props.canSetRelatedRooms}
|
||||
onNewItemChanged={this.onNewGroupChanged}
|
||||
onItemAdded={this.onGroupAdded}
|
||||
onItemEdited={this.onGroupEdited}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue