forked from kevadesu/forgejo
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:
parent
d5b2bf9044
commit
2ee72d011f
3 changed files with 6 additions and 3 deletions
|
@ -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}}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue