Hi,
The demo should be a good starting point. You just need to extend from the demo. If you have multiple roles, and each role have access to certain controls, then you need to manually implement conditions within your form initializing or form initialized rule. You need to check which role the user is in, then update the control properties accordingly. For example, if you have 3 roles, then you need to make use of If-else if-else condition rules to take into consideration each of the 3 roles.
Hi
I think the other alternative would be to control form controls at a workflow level via form states rules, please see this documentations below, you can hide,disable,readonly certain controls on the form at workflow state level https://help.k2.com/onlinehelp/k2cloud/userguide/update_7/default.htm#legacydesigntools/workflow/thin-client-wizards/user_task_wizards/smartforms_task/smartforms_task.htm
https://help.k2.com/onlinehelp/k2smartforms/userguide/4.7/default.htm#thin_client_wizards/user_task_wizards/smartforms_task/smartforms_task.htm
Should you find the above alternatives useful kindly mark such as "Kudo,Accepted Solution and/or MeToo options".
Kind regards;
Widson.