-
Notifications
You must be signed in to change notification settings - Fork 96
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
Transfer data account #1319
Comments
Hello, I was trying to look at your work on top of Hilary and since this is not yet a PR, I can't easily replicate it locally. I have placed the Anyway, I recommend getting the PR as soon as possible (it doesn't matter if there is work to do still) because it will be easier to follow work progress, and will force you to tackle problems earlier (such as folder structure). Also, may I recommend you update your |
Hi,
I think the problem comes to 3akai-ux because I modifed some files in 3akai-ux that wasn't on the transfer module folder.
It's the first time I'm really use github, sorry for this, I email you when I'll fixe the problem.
Thanks,
Claire
…________________________________
From: Miguel Laginha <[email protected]>
Sent: Monday, February 13, 2017 16:02
To: oaeproject/Hilary
Cc: Claire Lozano; Author
Subject: Re: [oaeproject/Hilary] Transfer data account (#1319)
Hello,
I was trying to look at your work on top of Hilary and since this is not yet a PR, I can't replicate it locally.
I have placed the oae-transfer folder inside Hilary and the folder inside of oae-transfer-front inside 3akai-ux but I'm probably missing something else. Can you drive me through please?
Anyway, I recommend getting the PR as soon as possible (it doesn't matter if there is work to do still) because it will be easier to follow work progress, and will force you to tackle problems earlier (such as folder structure). Also, may I recommend you update your Hilary fork because it's 70 commits late. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1319 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AU-4hLyTeY--18qEO3VQb-FqgIXVJFuuks5rcHB_gaJpZM4L_F3E>.
|
I added the possibility to change the value of the "validity time" of the transfer request. |
In what comes to the approach you describe above, there might be a conflict regarding the terms and conditions of OAE running instances that we are still analysing. As it stands right now,
We will get back to you on this as soon as possible. |
Hi, So, regarding the transfer procedure, here's the general policy we need to respect while designing this feature:
That being said, regarding your suggestion earlier:
...this would need to be changed to "documents that the user is owner of - not just linked - and therefore have been created on his former tenancy", in case it's an unadopted tenancy. In case it's an adopted tenancy, we feel that it might be best to create an admin setting for tenancy administrators to decide whether to allow users to transfer their own data (created inside that tenancy) if and when users leave the institution. If that setting is on, then the procedure should apply the same way as unadopted tenancies. If it's off, then no transfer should be possible. I hope this has cleared it up. Don't hesitate to get in touch! |
Hi, Thank you for the information, we think that is a good idea. Yesterday I made a push, so now the admin can decide if a user can make a transfer of his data or not. Let me now if you see another things to change and maybe we should change some text in the user interface. |
I'll wait for the pull request, as suggested earlier. Good job! |
I created the pull request but I have errors and I don't understand why... |
Thanks for that, I'll take a look |
The error in TravisCI is something you don't have to worry for now and does not affect functionality:
|
Hi, Looking at this commit I'm guessing you tried to update your fork so that it included the most recent changes from the official Hilary repository, right? It turns out you used a I suggest you rebase your fork next time, because that's going to put your work "on top of" the most recent changes you fetch from upstream. Doing a merge will raise issues (check out this one) because we'll get duplicate commits on the main tree as soon as we merge In what comes to this particular situation, I can help you fix it if you grant me permissions to force push to your repository and we'll go from there. I checked out your repository by doing a Besides this, the feature is looking good! Some notes:
Good job! |
Hi, Thanks for the explanation! I actually did a simple pull of the official Hilary repository, fixed the conflicts (conserving my work) and then I pushed it. I have added you as "collaborators" so you'll normally be able to make push. About the front, sometimes the page is reloading I don't know why and if there is a message, it disappears because of the reloading... I'll take a look and try to fix it ! Thanks again for your help! |
Hi ! I pushed some modifications about this module. I’ve done the points that you told me :
I also finished the unit tests and made some tests to make sure that the account transfer works on all possible case (for all types of documents, groups, all privacy, documents in folder, …). |
Hey Claire, I've tested it for a while and here are some findings:
I think it might have to do with this piece of code:
In a nutshell, you're invoking callback a bunch of times.
I'll proceed to a more in depth review as soon as these functional issues are addressed. Good work so far! |
Hi Miguel, I never had this error before ... Can you tell me what kind of test did you make to produce this error ? You have all right for the modal box, I changed the text by “Enter the email of your other account…”. I also changed the text of the notification. Please tell me if you see anything else ! |
Nooooooo! 😆 Let's try async again, there must be something we can do, right? In any case, is this ready to be reviewed? If so, let's make it a pull request. |
Wow ... I don't even remember this conversation x) This is the pull request : #1326 |
I finished to rebase to projects ! There are ready to be reviewed ;) Hilary : #1326 |
alright! good job! I'll review them as soon as possible |
This issue will need to be redone from scratch after migrating to postgres (or any other relational database), which will allow for a completely different solution. It's still valid as a potential feature, just not the way it's been worked in this thread, so I'm keeping it on the backlog under a different name. |
Allow a user to transfer all this data to an account to another account (from different or same tenant).
Here is an quick overview of how everything works :
1 - User A generates a code with his 1st account
2 - He then logs in with his 2nd account, which is on another tenant (Note: it doesn't really matter how much time passes between step 1 and 2 ... can be hours, days, weeks,...)
3 - He enters the code in the appropriate field
4 - After verifying that the code is actually correct, all of documents linked to the 1st account is transferred to the new one ("transferred" means that we switch the rights/ownership from the 1st account to the 2nd one)
5 - For each document, if he isn't one of the owners, an email will be sent to the actual owner(s) to inform them of the potential issue so they can decide wether or not they want to keeping sharing the document with User A, even though he left his former tenant/institution.
Pull requests:
It's still a work in progress so there is some things (unit tests, optimization, ...) that need to be done...
The text was updated successfully, but these errors were encountered: