Add permission check for moving issue action in project view page (#24589)

Fix #22954
Only users who have write permission can move issues in the project view page.
This commit is contained in:
yp05327 2023-05-09 13:50:16 +09:00 committed by GitHub
parent d5b2bf9044
commit 2ee72d011f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -6,6 +6,10 @@
margin: 0 0.5em;
}
.board.sortable .board-card {
cursor: move;
}
.board-column {
background-color: var(--color-project-board-bg) !important;
border: 1px solid var(--color-secondary) !important;
@ -80,7 +84,6 @@
.board-card {
margin: 4px 2px !important;
border-radius: 5px !important;
cursor: move;
width: calc(100% - 4px) !important;
padding: 0.5rem !important;
min-height: auto !important;