Skip to content
Snippets Groups Projects
Commit d57fb83f authored by Tom Robinson's avatar Tom Robinson
Browse files

Remove 'View raw queries' permission option

parent 2789fbe7
Branches
Tags
No related merge requests found
......@@ -265,13 +265,6 @@ const OPTION_NATIVE_WRITE = {
icon: "sql",
};
const OPTION_NATIVE_READ = {
...OPTION_YELLOW,
value: "read",
title: t`View raw queries`,
tooltip: t`Can view raw queries`,
};
const OPTION_COLLECTION_WRITE = {
...OPTION_GREEN,
value: "write",
......@@ -591,7 +584,7 @@ export const getDatabasesPermissionsGrid = createSelector(
) {
return [OPTION_NONE];
} else {
return [OPTION_NATIVE_WRITE, OPTION_NATIVE_READ, OPTION_NONE];
return [OPTION_NATIVE_WRITE, OPTION_NONE];
}
},
getter(groupId, entityId) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment