How to dynamically set getRelations()?
Hi all. For a user resource view page we have multiple relations set through the RelationManagers. However, dependent on the current type of user (admin, customer etc.) we are looking at displaying different relationships as some will always be empty for specific types of users. The type of user is an attribute on our User model. Is there any way to set these relations dynamically in getRelations() to prevent redundant tabs from showing? Thanks in advance!