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:
@@ -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}}">
|
||||
|
Reference in New Issue
Block a user