Add button for SetAttribute does not get disabled when linearRendering is FALSE
When a SetAttribute or OrderedArrayAttribute has linearRendering set to FALSE (meaning it renders to separated fields for current values and edition), the add button will be active even when the field is disabled (because of read only mode or ACL). This was detected with supann field supannEtuInscription when looking at the supann user tab from the my account menu.
Steps to Reproduce
- Go to SupAnn entry from My account menu
- Look at the "Add" button for "Student subscriptions", it’s active while it should not
This does not cause any ACL leak, it is only a cosmetic problems which may confuse users.