This is awesome. Is there any way to add custom hooks to a create/update/delete operation? For example, I want to call run a script or program every time a user is created; for example to add that user to an LDAP directory or remote server.
It's possible to override default CRUD with custom actions/forms and so all additional data processing will be handled on the product back end API side.
So let's say to want to add user to some LDAP directory once the user is created in Motor Admin.
In order to do that you need to override the default user creation form and send data from that form to your API back end so you can handle user creation in LDAP from there:
https://monosnap.com/file/3CD1qKgNoTBOhwTwzLiNJXTUNgi8yH
All those API requests are sent with JWT header - so it's possible to validate them on the back end.
Do the hooks have to be Ruby code?