How can admin controls the column visibility for other users in data grid 2.

Hi Guys,   I have a doubt regarding datagrid 2. My application is having 3 user roles. Admin, user role 1 and user role 2.. We have an overview page which consists of Data grid 2.0. Now can we implement this scenario? Like admin can have access to hide or enable some of columns in that data grid 2 for other user roles? Like if admin unchecked address column then it should be hidden for both the other user roles.   Thanks.
1 answers

I would recommend against using visibility to keep users from seeing things – even if an attribute is not visible on the page, they can still access the attribute through the console if their userrole has read access to the attribute.


Instead, I would recommend setting up security on an entity level.