Permissions in OutSystems — Meetup Materials
Summary
Last wednesday the 27th of February, together with João Heleno I gave my first OS talk ever about roles on the first Portugal OutSystems Meetup of 2019. On the talk I covered a bit of everything related to roles, but in less detail of what I’m going to be covering here. Until I have the availability to further update the blog, I will leave here available the materials I used on the meetup.
Presentation
The presentation covers the basics of everything related to roles: theory, why use RBAC and how to use RBAC, RBAC patterns and other Access control Systems.
If you came to the meetup on Wednesday, thank you for your presence and be sure to leave a comment. Your feedback is greatly appreciated! :)
Code
Download the OML from here. This is an example application that manages the hiring process for a Human Resources company. All on the same page, recruiters recruit and rate applicants and officers connect with customers by scheduling interviews and helping the customer pick the right applicant.
The application is an example app and is not yet complete. But you can browse the code to check where and how Role Based Access is used. Feel free to reach me out with any questions or comments regarding both the code or the presentation.
Interesting patterns
- UserMenu: Check out how we filter the espace to only get roles from that espace.
- UserApplicantAssociate: How you can filter for users not yet on the ACL
- JobApplicationList: Protecting URL parameters, how you can filter records through ACL’s, how you implement RBAC on a “role logic heavy screen”.
In the near future
In the near future I intend to finish this HR app and have it as a goto example for Roles as well as finishing my series on roles. We are starting a new year and as you know, when the year starts also projects start and working on these side projects becomes complicated, so I will not be able to post as frequently as I would like to. So, it may take a while, but rest assured, I will update this series!