mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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:
commit
3fa6f4743d
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue