From e95c5ee8ec0e41901b69b6cce8c58713dcd7d691 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Sun, 26 Feb 2017 16:18:26 +0000 Subject: [PATCH] permission changes are different than edit rights --- frontend/src/components/TopicCard/Links.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/TopicCard/Links.js b/frontend/src/components/TopicCard/Links.js index 7683bae2..ad1758d3 100644 --- a/frontend/src/components/TopicCard/Links.js +++ b/frontend/src/components/TopicCard/Links.js @@ -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 {