chore: role restriction to issue detail & peek-overview (#3146)
* chore: disabled interaction with title & description in peekview & issue detail * chore: restriction to attachments delete for lower roles * chore: kanban & calendar block drag restriction for lower roles * fix: module/issue sidebar links access for lower roles * fix: issue detail role validation * fix: user role validation condition
This commit is contained in:
parent
31fdaf2659
commit
e1793dda74
7 changed files with 67 additions and 36 deletions
|
|
@ -121,10 +121,10 @@ export const KanbanIssueBlock: React.FC<IssueBlockProps> = (props) => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<Draggable draggableId={draggableId} index={index}>
|
||||
<Draggable draggableId={draggableId} index={index} isDragDisabled={!canEditIssueProperties}>
|
||||
{(provided, snapshot) => (
|
||||
<div
|
||||
className="group/kanban-block relative p-1.5 hover:cursor-default"
|
||||
className="group/kanban-block relative p-1.5"
|
||||
{...provided.draggableProps}
|
||||
{...provided.dragHandleProps}
|
||||
ref={provided.innerRef}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue