Hello guys. I did my ACL and Auth Middleware and ran into a problem. I whant to allow the user to edit his content. But how will it be correct to obtain information that this content is the user's content?
For example, I get the userId from the Session in Middleware and transfer it to my Acl to check the access.
Next, I want to transfer it to the controller's action... And how can I do it right (transfer user data to controller)? How can I make a universal check whether the content belongs to the user?
Thanks in advance!