Good afternoon, for study purposes, I am creating a communication system, where users register communiqués on a timeline, but I came across the following question, How would I show which users viewed this communiqué? Communications are sent to departments, or specific users, or to all users.
![inserir a descrição da imagem aqui](https://i.stack.imgur.com/zWmU7.png)
If the user needs to be logged in to access the resource. you can simply record the user by accessing directly from the Controller. When it opens the page will generate a log of your access.
– Israel Merljak
However, if you consider that a resource has been read only after some time has passed. Create an endpoint in your project to record the reading of the X resource by user Y. And control by javascript, if the user stays longer than determined on the page, vc saves by endpoint which user has read which resource.
– Israel Merljak