Conditionally Render based on Permission Set?
Can I conditionally render an element based on a user's permission set? I tried to create a model off the Permission Set Assignment object that looks at the running user and the Permission Set ID in question. As an admin, I can see on my page the assigned users in a table. So I changed the criteria on my Permission Set model to be assigned user = running user, and permission set = MyPermissionSet. It doesn't seem to work... I think because users don't have native access to the Permission Set objects. Is there another way I can render a tab on a page based on a permission set?