Hacker News new | ask | show | jobs
by petems 1695 days ago
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.

1 comments

Thanks. Would my backend also handle the database changes or does Motor Admin still do that with a custom form?
For custom forms and actions everything should be handled on the backend API including the DB changes.