sails-permissions
sails-permissions copied to clipboard
Audit policy could benefit from having model id stored
I know the model id is stored in the body field of the request log but it might be beneficial to store it as an attribute too just to make it easier to retrieve log information for a particular model as I'm not sure there an easy way to query a nested attribute.
It already exists as req.model :)
Sorry could you expand on what you mean as I'm not familiar with the use of req.model