Simulating Field Level Access Control

kenlyle shared this question 6 years ago
Answered

What would be the best way to simulate Field Level Access Control? In other words, the same screen/list will look different to people with different Roles (Executive, Senior Sales, Junior Sales, Clerical, etc.).


There are probably a couple of usages...sometimes, fields should be hidden based on role, other times maybe they are read/only, whereas higher roles can always edit.

Comments (2)

photo
1

I'd create a variable to hold the current role and then I'd have a dynamic panel with as many panels as roles you have. Then create an on page load event that loads one panel or another depending on the value in the variable.

photo
1

That does sound perfect. Thanks very much.