mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 15:19:02 +02:00
Merge pull request #637 from sharelatex/as-fix-clone-owner
Set the owner object to the current user when cloning a project
This commit is contained in:
@@ -320,6 +320,9 @@ define [
|
||||
name: cloneName
|
||||
id: data.project_id
|
||||
accessLevel: "owner"
|
||||
owner: {
|
||||
_id: user_id
|
||||
}
|
||||
# TODO: Check access level if correct after adding it in
|
||||
# to the rest of the app
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user