user can only clone a board on canManage permissions
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
This commit is contained in:
@@ -153,6 +153,6 @@ class BoardController extends ApiController {
|
||||
* @return \OCP\Deck\DB\Board
|
||||
*/
|
||||
public function clone($boardId) {
|
||||
return $this->boardService->clone($boardId);
|
||||
return $this->boardService->clone($boardId, $this->userId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user