Roles Utility

Stable Version 1.0.0 (OutSystems 11)
Published on 14 Sep by 
Details
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)
Category
Libraries, Components, Developer Tools
Tags
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.
Dependencies
Roles Utility has no dependencies.
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
.NET
Component Consumers
No consumers yet.
Weekly Downloads