Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command to transfer projects in one user account to another user account #1491

Closed
6 of 7 tasks
ukanga opened this issue Oct 25, 2018 · 2 comments
Closed
6 of 7 tasks

Comments

@ukanga
Copy link
Member

ukanga commented Oct 25, 2018

Command: transfer_user_projects.

Transfer projects to a different user/organisation account.

  • Reassign created_by and organisation to the new owner/organisation.
  • Reassign all XForms under the user or project to the new
    user/organisation. Updating the fields user and created_by.
  • Reassign all MergedXForms under the user or project to the new
    user/organisation.
  • Reassign all Dataviews under the user or project to the new
    user/organisation.
  • Apply project and form permissions to the new user.
  • Remove project and form permissions from the old user?
  • Update Enketo references accordingly in issue Form ownership transfer does not result to an update in enketo #845 ?

Aha! Link: https://ona.aha.io/features/PROD-306

@ukanga
Copy link
Member Author

ukanga commented Oct 25, 2018

@msschroeder @ivermac

  • Anything I may have missed to add in this description relevant to transferring of entire projects from one user account to another?
  • Does transferring the project also mean existing users with access to the project will no longer have access to the transferred project?
  • Should this functionality also be exposed via API - for a user to transfer all their projects to another user?

@ivermac
Copy link
Contributor

ivermac commented Oct 26, 2018

Anything I may have missed to add in this description relevant to transferring of entire projects from one user account to another?

Looks good to me

Does transferring the project also mean existing users with access to the project will no longer have access to the transferred project?

It makes sense to me to revoke any permission or access the existing users had to the project that has been transferred. I'd like to think it's up to the new user/org to share/re-share the project.

Should this functionality also be exposed via API - for a user to transfer all their projects to another user?

If we ever need a UI for this functionality then i'd like to think exposing the functionality via the API would make sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants