Continuing the discussion from Is it possible to check if a user has access to a specific application using email and uuid?:
We are currently working in the Cloud but will be moving on prem (hopefully) soon. I have a need to associate metadata with some of my users. Given the thread linked above, can I assume that, once we are on prem, we would have the ability to add metadata to user accounts that could then be accessed using current_user?
Use case: We are building an app that will be a "self service" portal for customers to submit documents, see the status of same, etc. In order to allow this, I need to know which customer the user is associated with so that I can use their "customer code" to run my queries and display their own documents only. At the moment (Cloud) I don't see a clean way to do this but I'm hopeful that it can be accomplished once I have access to the user table.
If there IS a way to do this in the Cloud, I'm all ears, of course! Thanks!