Several current external functions does not launch events, this means that not logging is done for users.
This is problematic, since some other plugins may depend on events launched by plugins (like forum) and the course log is not populated with this information (
Note that a web service can be executed as a single USER or as an admin account, we can detect if an USER is the one launching the Web Service and in that case launch the event, example:
This can be problematic, because in some cases maybe is not the real USER who is calling the Web Service, imaging a SIS that is caching all the messages posted by an user or something like that.
There are several ways to fix these:
- Force external functions to launch events always. (Maybe adding a new mandatory parameter "logging or launchevents" to say if the information must be logged)
- Create new external functions for launching events in the system (so the client must launch events manually after doing some actions)