Controlling edit access to resource form based on column data

I have an resources, i wanna limit edit access to data, the condition is if column a in that data true, then that data is can edit, i think to give that limit is from getPages(), anyone have solutions?
1 Reply