Extending Internal API using *_slap_interface_workflow
Extending Internal API using *_slap_interface_workflow
This MR aims to introduce and extend the internal API with the support for manage:
- Project
- Organisation
- Site (also Organisation)
- Tokens
- Computer Network
So via the introductions of workflows we included the following methods:
- Project.approveRegistration()
- Project.leaveProject()
- Project.acceptInvitation()
- Organisation.approveRegistration()
- Organisation.leaveOrganisation()
- Organisation.acceptInvitation()
- Person.requestProject(project_title)
- Person.requestOrganisation(organisation_title)
- Person.requestSite(organisation_title)
- Person.requestToken(request_url)
- Person.requestNetwork(network_title)
- ComputeNote.requestTransfer(...)
- InstanceTree.requestTransfer(...)
- ComputerNetwork.approveRegistration()
- ComputerNetwork.requestTransfer(...)
This API with minor exceptions, don't replaces the way the Hateoas/JIO website interacts with ERP5, so the original scripts are kept just changed to call internal APIs.
Some rework lead to minor clean ups and security updates, but nothing to change the overall behavior of the site.