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:
Alasdair Smith 2018-06-07 11:54:09 +01:00 committed by GitHub
commit 3fa6f4743d

View file

@ -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
}