Such a small thing but it has me stumped. Obviously I don't want anonymous users seeing a members list even when you click a name and finally it says access denied on individual user profiles. I just don't want a members list visible to non members at all. I don't want it in the navigation menu for anyone not logged in.
But because it is all in a view then regardless of permissions set to not allowed for anon users and in content access, in views it is 'permissions view published content' so it shows the list and comes up in menu. So I tried changing that in views to permission 'edit own profile" and that made it disappear from the menu but I'm not sure if that is the correct way of doing things?