Implement the user's role in gridview filter expression?

I currently have a filter expression set up on a controller so that a user can only view registries created by that user. However, I also want to set up the expression so that an Administrator-level user can view all registries regardless of what user created them.
Am I doing this on the wrong spot or what steps can I follow?
1 person has
this question
+1
Reply