How could we assign a User to an End user group by ODC Studio?
Do we need to go to the ODC Portal every time a user registers in the main application to add them to a role?
I don't see this as a good option.
No official communication, but what I hear talking about is that the API will released still in 2024.
Hi,
Add users to a group needs to be done in the portal. Granting roles can be done with the built in function in every role.
A user management API is on the roadmap, but no Publix release date is available.
Regards,
Daniel
I understand, a shame.
What would be the best way to automatically give several roles to a user in your registration flow?
Export a service action from all applications with Grant<name>Role?
And when we create another application in the future, how can we assign the role of that application to users?
Hi Johnes,
I understand the frustration, we are faces with the same issues.
Your workaround is one of the ways to do it right now, it isn't pretty as you have to change code for every new role, but it works.
Let us hope when the User Management API because publically available, we can build proper solutions for this.
That's right, Daniel. In the documentation itself they do not recommend this, but they did not provide an alternative for this type of scenario. The strange thing is that this is quite important and no good solution has been implemented so far.
Thanks for the answer!
You still see that critical features are missing in ODC. But OutSystems is working hard on them. The OutSystems user management API is one of those features, which is much awaited by many of us.
Hii Johnes Silva
I am sharing sample oml kindly refer this oml then assign a User to an End user
Thanks Sunil
I can't open this oml.
Can you send prints of the implementation?
Hii
I am sharing the screen short then select file choose the OML
Now sure what is going on with your OML but it indeed gives the error message shared before in this discussion.
Yeah, I keep getting the same error.
Hi @Daniƫl Kuhlmann ,
Is there any udpate on use management API ? Is there a way to assign end user group programmatically ?
That's strange !I see chatgpt outsystems bot giving answer for this but i tried to search on the mentioned content and there is no info so far in documentation.
Well I hope I am not going to disappoint you, but you cannot trust the ChatGPT output. There is no inteligence in ChatGPT, it just predicts the next word in a sentence.
In this case ChatGPT is wrong.
That's right ! That is the reason i searched related content on official documentation and could not find it so wanted to bring this here so that community do not get mislead & access the right information.
Off course ! Chatgpt is better to show some direction ( sometimes mislead too) but own research is must after that !
I wait for the update here then !
Thank you !
ChatGPT is mixing O11 capabilitites in questions about ODC, very confusing.