Have a relationship stat(count) that I use to see if a user already performed an action (ie voting). The problem is that when using the app as a guest, the relation returns an error since there is no userID.
Is there an easy way to make certain features (parts of the html, ie everything with a given div) visible/invisible to different types of users (guest vs user vs admin)?
Was thinking of possible solutions, one of which was to set the userID to 0 for any guest and use that as the condition for both problems. But I couldn’t figure out how to do it.