I'm creating a view to list user sessions statistics. (Data selected from table myuserstat, there is UID field, myuserstat rows is not a Content Type, just table)
I want to make access url like /mystat/{user}, to list data of specified user.
How can I allow users to see their own stat, and admins see all users stat? For now i only found how to limit to the current user: contextual filter->UID->Provide default value->logged user id. But in that case, how to allow admins to view all users?