Forum Discussion
PaoloT
12 years agoLithium Alumni (Retired)
Hi heavenerp
is this for a front-end custom component? If so - have you considered using an Endpoint which uses an elevated privilege rest call (using restadmin) and then sets to the desired value?
Of course - you would want to make sure that you do appropriate checks (such as for example, is the endpoint trying to set the profile language for the same user currently logged in? or is the language value a valid one? etc...) because of the usage of restadmin - which requires extra care.
Thanks,
Sign in to react to this post
heavenerp
12 years agoLeader
Yes, this would live inside of a custom component.
Sign in to react to this post
- PaoloT12 years agoLithium Alumni (Retired)
Hi,
in this case - the approach I have outlined should do the trick for you. Let us know how do you get on with that!
Thanks,
Sign in to react to this post