permission changes are different than edit rights
This commit is contained in:
parent
31da5c3011
commit
e95c5ee8ec
1 changed files with 2 additions and 1 deletions
|
@ -79,6 +79,7 @@ class Links extends Component {
|
|||
render = () => {
|
||||
const { topic, ActiveMapper } = this.props
|
||||
const authorizedToEdit = topic.authorizeToEdit(ActiveMapper)
|
||||
const authorizedPermissionChange = topic.authorizePermissionChange(ActiveMapper)
|
||||
const metacode = topic.getMetacode()
|
||||
|
||||
return (
|
||||
|
@ -133,7 +134,7 @@ class Links extends Component {
|
|||
</a>
|
||||
<Permission
|
||||
permission={topic.get('permission')}
|
||||
authorizedToEdit={authorizedToEdit}
|
||||
authorizedToEdit={authorizedPermissionChange}
|
||||
updateTopic={this.props.updateTopic}
|
||||
/>
|
||||
<div className="clearfloat"></div>
|
||||
|
|
Loading…
Add table
Reference in a new issue