diff --git a/console/src/components/Services/Data/TablePermissions/Permissions.js b/console/src/components/Services/Data/TablePermissions/Permissions.js index d4f2d81318039..b59cfcab6d154 100644 --- a/console/src/components/Services/Data/TablePermissions/Permissions.js +++ b/console/src/components/Services/Data/TablePermissions/Permissions.js @@ -1069,10 +1069,18 @@ class Permissions extends Component { const allColumns = tableSchema.columns.map(c => c.column_name); dispatch(permToggleAllColumns(allColumns)); }; + let accessText; + if (query === 'insert') { + accessText = 'Allow input for'; + } else if (query === 'select') { + accessText = 'Allow access to'; + } else { + accessText = 'Allow updates to'; + } _columnSection = (
- With access to columns: + {accessText} these columns: