So I came across this snippet of code recently when I was trying to find a way to give a user access to a form's entries based on a user role. I did find that I needed to modify it a little bit for the menu side of things so that when you go to the view entries page...