All Topics
Can I force a filter?
Working with the Users table, I want admins to see all of the users in the database, but all other users only get to see a subset, based on roles.
I know that I can create a custom set for non-admins and set a default filter for “Role = Club Member”, but the filter is still voluntary: the non-admin user can, when viewing the page, clear the default filter, thus showing all members, not just the “Club Members”.
Is there a way to either force the filter or, perhaps through a hook, pre-filter before the page is displayed?
You must be logged in to reply to this topic.