I have add new field Entity_Reference of Message_type.
And got this error on field edit page.

CommentFileSizeAuthor
#2 screen2.png3.65 KBsuper_romeo
screen.png29.32 KBsuper_romeo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

super_romeo’s picture

Issue summary: View changes
super_romeo’s picture

FileSize
3.65 KB

And If user edit this field value (except by admin), He saw "- Restricted access -" instead of item.

super_romeo’s picture

I got why "- Restricted access -".

Because of:
function message_type_access($op, $entity, $account, $entity_type) {
return user_access('administer message types', $account);
}

But I need to give user ability to choose, messages of what message_types he want to receive.
What should I do?

bluegeek9’s picture

Status: Active » Closed (outdated)