#Accessing User Attribute

1 messages · Page 1 of 1 (latest)

analog oak
#

Hi @vale lily , I’m not sure if I understand correctly, but if you’re asking about calling a defined attribute (let’s say defined in the user entity) from another entity, we do not support that right now. Could you please share your use case for needing this so that we can identify the situation and take the necessary action?

vale lily
#

Thanks @analog oak! I was trying to have an attribute that if it were to be true on a user then he has admin access to anything.
This apart from the admin role.

I was mainly playing around trying to get a better understanding. Thank you for your time!

analog oak
#

Got it @vale lily. So, basically you want to define a global user attribute that can be called from other entities in order to use it as an action or permission condition. I’ll open an issue about it, and we’ll discuss it internally, hoping to come up with a solution asap.