Hi all, I just found this discussion. Possibly a root cause could be that the function userrole() is not returning any value at all. This happens on our side: whenever the user is not granted access rights to edit the app (which is basically means being a normal user), the function retunrs nothing! I’ve already opened a ticket for it and google was able to recreate the failure, but we just got the updated that it won’t soon be fixed
so we’ll avoid for now to use that function since it’s not reliable.
btw, we have enterprise subscription. and to be clear: with that fault the condition ‘userrole()=“Admin”’ will always be false.