Roles Utility

Stable Version 1.0.0 (OutSystems 11)
Published on 14 September 2019 by 
Stable Version 1.0.0 (OutSystems 11)
Published on 14 September 2019 by 
Created on 14 September 2019

Roles Utility

A different way, easier and quick to manipulate the outsystems roles in runtime.
Read More

This component bring to our community a different way to add role to OutSystems users in runtime.

Normally when we have a external provider like federated identity provider (Idp) we need sometimes match the roles come from our provider and outsystems roles, this logic happens normally in the application login.

For security reasons OutSystems users should never have a role associate themselves. It is because the roles must be provided by our Idp server.

My first approach would be create a login action calling Idp and matching the roles between OutSystems and Idp, but for this I will have to create a new record on this table "User_Role" for each role, combining  user and roles. Furthermore, I will need remove all roles before starting add the new to keep our roles updated as our Idp provider.

So, this component set directly in OutSystems session user the roles, we do not have to create a relationship in database, we do not need to clear roles from database as well. This component help us to avoid many calls to database, doing exactly what OutSystems do but jump some steps.  

If you are curious, take a look in this extension and I hope it be useful.

Reviews (0)
Development tools, User management
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Paulo Fagundes Jr. who created this component.
Roles Utility has no dependencies.
Component Consumers
No consumers yet.
Weekly Downloads 
More from Paulo Fagundes Jr.