I can’t find a way to properly lock some fields of an object based on its properties and user rights.
Use case would be an object with, say, states A B C, and fields E F G
E can be modified if object in state A, F if in B, etc.
xxxManager can modify some of the fields no matter its permissions.
So far :
- permissions only have entity granularity ;
- meta_permissions only have the ability to handle per-user canRead/canEdit (see first point) ;
- binding an action-valid on each onChange would be very boring (plus it’s also client only check).
Of course, I could intercept save action (somehow) and make a diff on the object but this would be very boring… Did I miss something?