diff --git a/client/modules/IDE/actions/project.js b/client/modules/IDE/actions/project.js index 3737b968..d541a49f 100644 --- a/client/modules/IDE/actions/project.js +++ b/client/modules/IDE/actions/project.js @@ -52,6 +52,9 @@ export function setProjectName(event) { export function saveProject() { return (dispatch, getState) => { const state = getState(); + if (state.user.id && state.project.owner && state.project.owner.id !== state.user.id) { + return; + } const formParams = Object.assign({}, state.project); formParams.files = [...state.files]; if (state.project.id) {