firegento / firegento-adminmonitoring

Monitor all activities in the backend and provide a history about the changes.
GNU General Public License v3.0
91 stars 23 forks source link

Monitoring the rest api #23

Closed ThiagoNP closed 8 years ago

ThiagoNP commented 8 years ago

Is there any way to enable monitoring of the rest api?

therouv commented 8 years ago

Hi @ThiagoNP unfortunately, this is currently not possible. If you'd create a pull request with the functionality, I'd be happy to merge it.

ThiagoNP commented 8 years ago

I implemented this feature on my store, but I don't know if there is a way to implement this in the module. What I ended up doing was:

I had to do this because when the FireGento_AdminMonitoring_Model_Observer_Log class tried to save a new history entry, generated by an api modification, the admin session didn't return an user. And because of that, it tried saving an entry with user id set to 0, and this silently fails.