I noticed that when you are logged in into Squidex and go to your profile settings in the top right you can add custom properties to your user account. Couldnt find it on forums or docs. So I have 2 questions:
Is there a way to do it for other accounts via API or some settings screen AND are you be able to get those properties to use them for some application logic? I wasn’t able to find any information on that.
Furthermore can you use those properties somehow in the Schema->Scripts? (for example ctx.user.properties). In the description of the custom properties it says that you can but again couldn’t find any more information on that.
Our use case:
We have several translators that are able to edit content. But we don’t want them to be editing the other languages than the ones they can actually translate (e.g. we don’t want a person who speaks english and spanish to edit a) the original english text and b) to edit russian for example). So if the above is possible we would assign each user/translator a property languages where we would store the languages they can edit and then use Schema->Scripts to check if the translator changed the other ones and if yes then block the update.
Right now we are thinking of using seperate roles like “editor_es, editor_rs” to determine their translating capabilities and we can block the update actions based on that role. But this is kind of prone to errors and not very flexible since if the person can translate more languages we would have to create a new role let’s say “editor_es_rs”.
Or if you have any other suggestion how to go about this it would be greatly appreciated!
Thank you in advance!