mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09: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:
		| @@ -36,7 +36,7 @@ function moveIssue({item, from, to, oldIndex}) { | ||||
| } | ||||
|  | ||||
| async function initRepoProjectSortable() { | ||||
|   const els = document.querySelectorAll('#project-board > .board'); | ||||
|   const els = document.querySelectorAll('#project-board > .board.sortable'); | ||||
|   if (!els.length) return; | ||||
|  | ||||
|   const {Sortable} = await import(/* webpackChunkName: "sortable" */'sortablejs'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user