Created on 14 September 2019
icon_unfollowing
Login to follow
roles-utility

Roles Utility

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 14 September 2019 by 
roles-utility

Roles Utility

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.


Release notes (1.0.0)
Reviews (0)
Category
Development tools, User management
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
Roles Utility has no dependencies.
Application Objects
Roles Utility has 0 AOs.
Team
Compatible with
Version 11
Database:
All
Asset consumers
No consumers yet.
Weekly downloads 
Related assets