Skip to content

Commit

Permalink
fix(dashboard): Don't show cross filters checkbox to users without wr…
Browse files Browse the repository at this point in the history
…ite permissions (apache#23237)

(cherry picked from commit 473a69a)
  • Loading branch information
kgabryje authored and sadpandajoe committed Mar 3, 2023
1 parent f7ef2a1 commit 1462b4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const FilterBarSettings = () => {
);
const menuItems: DropDownSelectableProps['menuItems'] = [];

if (isCrossFiltersFeatureEnabled) {
if (isCrossFiltersFeatureEnabled && canEdit) {
menuItems.unshift({
key: crossFiltersMenuKey,
label: crossFiltersMenuItem,
Expand Down

0 comments on commit 1462b4a

Please sign in to comment.