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.
-
Did you share the list view to only public group?– SaiPraveen KakkiralaMar 29, 2022 at 13:05
-
Sounds to me like a role hierarchy could be involved here but I don't know where exactly to look for those settings. You likely own the list view as it's creator, you share it with an empty group (which doesn't give anyone else any specific access) but your manager can see it because you made it and they're above you in the hierarchy.– nbrownMar 29, 2022 at 13:06
-
Yes exactly as you said. In this listview is only this "empty" public group. Nothing else– AlhanzMar 29, 2022 at 13:06
-
It could either be a role hierarchy or the user(manager) could have "Manage Public List Views" permission to be able to see list views(or edit them).– C. PraveenkumarMar 29, 2022 at 13:12
-
@nbrown I even tried remove "Grand Access Using Hierarchies" in that public group. And no result.– AlhanzMar 29, 2022 at 13:14
1 Answer
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.
You can query against Profile & PermissionSet to see where this permission is enabled. It's under PermissionsEditPublicFilters
SELECT Id,Name,PermissionsEditPublicFilters FROM Profile WHERE PermissionsEditPublicFilters = true
SELECT Id,Name,PermissionsEditPublicFilters FROM PermissionSet WHERE PermissionsEditPublicFilters = true