How to create Entity Access Rules based on the mapping data
0
Is it feasible to use a "UserRight" lookup entity that maps users to regions, plants, and access types (either Read or ReadWrite) to control access to another data entity (T1), based on user access mappings and using Access Rules of T1 entity? Each user can have multiple combinations of rules in the UserRight entity. Example: for user1 display T1 list based on the entity access rules - Rows from T1, matching attribute Reg1 and Plant1 in Read Mode - Rows from T1, matching attribute Reg2 in Read - Rows from T1, matching attribute Reg1 and Plant2 in ReadWrite Mode - Rows from T1, matching attribute Reg3 in ReadWrite Mode