Would it be possible to grey-out non-editable items in the user profile? At the moment users can still try to edit any "read only" profile fields, and they just get an error when they try to save the changes. It might be nicer to stop them editing the field in the first place.

Comments

Cainan’s picture

Assigned: Unassigned » Cainan
Status: Active » Closed (fixed)

Done!

tonights build should have the new functionality.

however, 'password' field will not be greyed out even when disabled, as the Drupal team did not add #attributes support for that form item.

if i have time, i will adda patch to core for that.