1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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
3 changed files with 6 additions and 3 deletions

View File

@@ -73,7 +73,7 @@
</div>
<div class="ui container fluid padded" id="project-board">
<div class="board">
<div class="board {{if .CanWriteProjects}}sortable{{end}}">
{{range $board := .Boards}}
<div class="ui segment board-column" style="background: {{.Color}} !important;" data-id="{{.ID}}" data-sorting="{{.Sorting}}" data-url="{{$.Link}}/{{.ID}}">