diff --git a/client/src/components/Table/Table.jsx b/client/src/components/Table/Table.jsx
index 0f7d12991..a6d1f469c 100644
--- a/client/src/components/Table/Table.jsx
+++ b/client/src/components/Table/Table.jsx
@@ -162,6 +162,7 @@ class Table extends Component {
{
if (
actions &&
@@ -184,6 +185,7 @@ class Table extends Component {
| {
if (
actions &&
@@ -496,6 +498,7 @@ Table.propTypes = {
accessor: PropTypes.string,
colName: PropTypes.string,
type: PropTypes.string,
+ readOnly: PropTypes.bool,
cell: PropTypes.function
})
),
diff --git a/client/src/components/Table/styles.scss b/client/src/components/Table/styles.scss
index 4dc46c309..11576b2f6 100644
--- a/client/src/components/Table/styles.scss
+++ b/client/src/components/Table/styles.scss
@@ -19,6 +19,13 @@ td {
position: relative;
}
+.not-allowed {
+ cursor: not-allowed;
+ input {
+ pointer-events: none;
+ }
+}
+
.close-container {
position: absolute;
z-index: 100;
diff --git a/client/src/containers/Topic/Topic/TopicConfigs/TopicConfigs.jsx b/client/src/containers/Topic/Topic/TopicConfigs/TopicConfigs.jsx
index b2c8d3b8f..f2ee413a5 100644
--- a/client/src/containers/Topic/Topic/TopicConfigs/TopicConfigs.jsx
+++ b/client/src/containers/Topic/Topic/TopicConfigs/TopicConfigs.jsx
@@ -212,6 +212,7 @@ class TopicConfigs extends Form {
render() {
const { data, loading } = this.state;
const roles = this.state.roles || {};
+ const isUpdatable = roles.topic && roles.topic['topic/config/update'];
return (
|