You can also check in the element.init() method of the form to see if the user is allowed to see the control, and set .visible(false) if not. You can then implement quite complex logic in deciding whether the user is allowed or not.
↧