chore: filter edit operation in views is disabled for lower roles (#3113)
* chore: edit/delete view options hidden for lower roles * chore: project -> views access restriction for lower roles * refactor: allowance condition
This commit is contained in:
parent
aafac9ed1d
commit
4e2bf24e8d
9 changed files with 99 additions and 61 deletions
|
|
@ -155,7 +155,8 @@ export const ProjectViewIssuesHeader: React.FC = observer(() => {
|
|||
onChange={(layout) => handleLayoutChange(layout)}
|
||||
selectedLayout={activeLayout}
|
||||
/>
|
||||
<FiltersDropdown title="Filters" placement="bottom-end">
|
||||
|
||||
<FiltersDropdown title="Filters" placement="bottom-end" disabled={!canUserCreateIssue}>
|
||||
<FilterSelection
|
||||
filters={issueFilters?.filters ?? {}}
|
||||
handleFiltersUpdate={handleFiltersUpdate}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue