I got really interesting issue and cannot find clue to solve it. I have many listviews and some of them should be hidden for the moment. So I created new public group, let's call it "empty", and to those listviews that I wanna hide I assigned this empty public group which contains no users, grups or roles. How is possible , that my manager user ( no admin rights etc... ) is still able to see them? If here is anyone with idea what can cause this issue I would be more than happy.
If you want to hide list views until they're ready to be shared, there's already an option for this - it's called
Only I can see this list view
Likewise, if you select
share list view with groups of users the info bubble shows how to do it to stay private
if you don't select any groups, this list view is private
Once you share it with any group (even empty) - that list view is public so the permission
Manage Public List Views allows users to see it.
Create, edit, and delete public list views.
SELECT Id,Name,PermissionsEditPublicFilters FROM Profile WHERE PermissionsEditPublicFilters = true
SELECT Id,Name,PermissionsEditPublicFilters FROM PermissionSet WHERE PermissionsEditPublicFilters = true