-
Notifications
You must be signed in to change notification settings - Fork 3
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 a project deletion/undeletion function(ality) #78
Comments
I think an R function is easiest. IIRC the project deletion process in REDCap backend is just setting that |
The backend also calls |
I asked the community if they wrote us an API extension: https://community.projectredcap.org/questions/133969/is-there-a-project-deletion-api-extension.html |
We probably wouldn't need to call or emulate |
I'm also going to add an un-delete function. These might end up as a PR to redcapcustodian since they're generically useful. |
Putting the delete/undelete functionality in REDCapCustodian makes lots of sense. |
@pbchase moved this to a REDCap custodian issue. As such, this issue can be closed |
We need a project deletion function that implements REDCap's normal "soft deletion" as implemented in REDCap's
ProjectGeneral/delete_project.php
. That process makes three changes:It's not clear to me what the best approach would be. We could write an R function that makes the database changes above. We could write an external module that adds an API method to delete projects with a super token. We could include a portion of REDCap code and call that using and external call to command line PHP.
What do you think we should do?
The text was updated successfully, but these errors were encountered: