-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implement auditing #135
Comments
Is this issue has been implemented? |
Hi @thiyagu06, no, it has been scheduled for next release. Currently we're analyzing the impact and figuring out how to implement it. Thank you! |
Hi @cbellone yes.. I would like to help to fix this issue. Please include in discussions. |
OK, great! We'll involve you after we close the release 1.8 (it would happen in the next few days, hopefully). In the meantime please subscribe to our mailing list https://groups.google.com/d/forum/alfio See you soon! |
Hi @thiyagu06 Thanks |
Hi @cbellone , Yes.. I am ready take up this task.. |
That's great! The goal of the task is to offer the "auditing" functionality in the admin tool, so that users can see what's happened to a particular ticket or reservation. Our idea would be to create an auditing table, and then store the modification in it. The table should contain:
how does it sound? EDIT: added USER_ID and EVENT as ENTITY_TYPE |
@cbellone |
I am not sure I understand your point. Anyway I see two possible scenarios:
That could happen if a user modifies two or more properties of the entity in the same transaction (e.g. category price and max seats). In this case the MODIFICATIONS json will contain two pairs (old and new value), one for category price and the other one for max seats
Either way we can display the updated history on the admin GUI, sorting the result set by timestamp. Then it would be an easy task to implement a full-text search on the client, so that the admin can see how a particular column has been modified. Does that answer your question? |
yeah..perfect. I just want know json format for modification. then ,I will look into the code and discuss on the design. |
Hi @thiyagu06 I would say something like that:
|
can be considered done, finally |
We should log all operations like:
...
The text was updated successfully, but these errors were encountered: